Annotation Interface ErrorCode
Marks an exception class or method with an error code
value()
of the application.
The error code is applied to the HTTP response.
- Author:
- Christian Bremer
-
Optional Element Summary
-
Element Details
-
value
String valueThe error code of the exception in addition to the HTTP status code. The default value isErrorCodeAware.NO_ERROR_CODE_VALUE
.- Returns:
- the error code
- Default:
- "UNSPECIFIED"
-