Package org.bremersee.exception
Interface ErrorCodeAware
-
- All Known Implementing Classes:
FeignClientException
,LdaptiveException
,MinioException
,ServiceException
,WebClientException
public interface ErrorCodeAware
Marker interface to get an error code.- Author:
- Christian Bremer
-
-
Field Summary
Fields Modifier and Type Field Description static String
NO_ERROR_CODE_VALUE
The default value of the 'code' attribute.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getErrorCode()
Gets the error code.
-
-
-
Field Detail
-
NO_ERROR_CODE_VALUE
static final String NO_ERROR_CODE_VALUE
The default value of the 'code' attribute.- See Also:
- Constant Field Values
-
-
Method Detail
-
getErrorCode
@Nullable String getErrorCode()
Gets the error code.- Returns:
- the error code
-
-