Class ErrorType

java.lang.Object
com.blockchyp.client.dto.ErrorType

public class ErrorType extends Object
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

      public void setTitle(String value)
      Sets the error title.
      Parameters:
      value - the error title.
    • getTitle

      public String getTitle()
      Gets the error title.
      Returns:
      the error title.
    • setDetail

      public void setDetail(String value)
      Sets the detailed error message.
      Parameters:
      value - the detailed error message.
    • getDetail

      public String getDetail()
      Gets the detailed error message.
      Returns:
      the detailed error message.