Class ErrorResponse

  • Direct Known Subclasses:
    RateLimitedErrorResponse

    public class ErrorResponse
    extends Object
    Any errors which occur at the Matrix API level MUST return a "standard error response".
    • Field Detail

      • errcode

        private String errcode
        Error code.
      • error

        private String error
        Error message.
    • Constructor Detail

      • ErrorResponse

        public ErrorResponse()
      • ErrorResponse

        public ErrorResponse​(String errcode,
                             String error)
    • Method Detail

      • getErrcode

        public String getErrcode()
      • setErrcode

        public void setErrcode​(String errcode)
      • getError

        public String getError()
      • setError

        public void setError​(String error)