public interface ErrorStatus
ErrorStatus
is used by ServiceException
to identify certain error types.
The error type is defined by an internal error code (getCode()
).
It also suggests a mapping for the well-known status codes defined by the HTTP protocol (getHttpStatus()
).Modifier and Type | Method and Description |
---|---|
int |
getCode() |
default String |
getDescription() |
int |
getHttpStatus() |
int getCode()
default String getDescription()
int getHttpStatus()
Copyright © 2020. All rights reserved.