Package com.wilfredmorgan.api.exceptions
Class CustomErrorDetails
- java.lang.Object
-
- org.springframework.boot.web.servlet.error.DefaultErrorAttributes
-
- com.wilfredmorgan.api.exceptions.CustomErrorDetails
-
- All Implemented Interfaces:
org.springframework.boot.web.servlet.error.ErrorAttributes,org.springframework.core.Ordered,org.springframework.web.servlet.HandlerExceptionResolver
@Component public class CustomErrorDetails extends org.springframework.boot.web.servlet.error.DefaultErrorAttributes
-
-
Constructor Summary
Constructors Constructor Description CustomErrorDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>getErrorAttributes(org.springframework.web.context.request.WebRequest webRequest, boolean includeStackTrace)
-
-
-
Method Detail
-
getErrorAttributes
public java.util.Map<java.lang.String,java.lang.Object> getErrorAttributes(org.springframework.web.context.request.WebRequest webRequest, boolean includeStackTrace)- Specified by:
getErrorAttributesin interfaceorg.springframework.boot.web.servlet.error.ErrorAttributes- Overrides:
getErrorAttributesin classorg.springframework.boot.web.servlet.error.DefaultErrorAttributes
-
-