Class Error
java.lang.Object
io.apicurio.registry.rest.v2.beans.Error
- Direct Known Subclasses:
RuleViolationError
Root Type for Error
All error responses, whether `4xx` or `5xx` will include one of these as the response body.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionFull details about the error.The server-side error code.The short error message.getName()The error name - typically the classname of the exception thrown by the server.voidFull details about the error.voidsetErrorCode(Integer errorCode) The server-side error code.voidsetMessage(String message) The short error message.voidThe error name - typically the classname of the exception thrown by the server.
-
Constructor Details
-
Error
public Error()
-
-
Method Details
-
getDetail
Full details about the error. This might contain a server stack trace, for example. -
setDetail
Full details about the error. This might contain a server stack trace, for example. -
getErrorCode
The server-side error code. -
setErrorCode
The server-side error code. -
getMessage
The short error message. -
setMessage
The short error message. -
getName
The error name - typically the classname of the exception thrown by the server. -
setName
The error name - typically the classname of the exception thrown by the server.
-