Class Error
- java.lang.Object
-
- io.apicurio.multitenant.api.datamodel.Error
-
@Generated("jsonschema2pojo") public class Error extends Object
Root Type for ErrorAll error responses, whether `4xx` or `5xx` will include one of these as the response body.
-
-
Constructor Summary
Constructors Constructor Description Error()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDetail()
Full details about the error.Integer
getErrorCode()
The server-side error code.String
getMessage()
The short error message.String
getName()
The error name - typically the classname of the exception thrown by the server.void
setDetail(String detail)
Full details about the error.void
setErrorCode(Integer errorCode)
The server-side error code.void
setMessage(String message)
The short error message.void
setName(String name)
The error name - typically the classname of the exception thrown by the server.
-
-
-
Method Detail
-
getMessage
public String getMessage()
The short error message.
-
setMessage
public void setMessage(String message)
The short error message.
-
getErrorCode
public Integer getErrorCode()
The server-side error code.
-
setErrorCode
public void setErrorCode(Integer errorCode)
The server-side error code.
-
getDetail
public String getDetail()
Full details about the error. This might contain a server stack trace, for example.
-
setDetail
public void setDetail(String detail)
Full details about the error. This might contain a server stack trace, for example.
-
getName
public String getName()
The error name - typically the classname of the exception thrown by the server.
-
setName
public void setName(String name)
The error name - typically the classname of the exception thrown by the server.
-
-