Class DefaultErrorResponse


  • public class DefaultErrorResponse
    extends ErrorResponse
    Version:
    August 20, 2019
    Author:
    Yuriy Zabrovarnyy
    • Constructor Detail

      • DefaultErrorResponse

        public DefaultErrorResponse()
    • Method Detail

      • getType

        public IErrorType getType()
        Returns the error response type.
        Returns:
        The error response type.
      • setType

        public void setType​(IErrorType type)
        Sets the IErrorType that represents the code of the error that occurred.
        Parameters:
        type - The error response type.
      • getErrorCode

        public java.lang.String getErrorCode()
        Description copied from class: ErrorResponse
        Returns the error code of the response.
        Overrides:
        getErrorCode in class ErrorResponse
        Returns:
        The error code.