Package com.blockchyp.client.dto
Class ErrorType
java.lang.Object
com.blockchyp.client.dto.ErrorType
Models an error response.
-
Constructor Details
-
ErrorType
public ErrorType()
-
-
Method Details
-
setStatus
public void setStatus(int value) Sets the HTTP status code.- Parameters:
value- the HTTP status code.
-
getStatus
public int getStatus()Gets the HTTP status code.- Returns:
- the HTTP status code.
-
setTitle
Sets the error title.- Parameters:
value- the error title.
-
getTitle
Gets the error title.- Returns:
- the error title.
-
setDetail
Sets the detailed error message.- Parameters:
value- the detailed error message.
-
getDetail
Gets the detailed error message.- Returns:
- the detailed error message.
-