Class ErrorInfo

java.lang.Object
net.avalara.avatax.rest.client.models.ErrorInfo

public class ErrorInfo
extends java.lang.Object
Information about the error that occurred
  • Constructor Summary

    Constructors 
    Constructor Description
    ErrorInfo()  
  • Method Summary

    Modifier and Type Method Description
    ErrorCodeId getCode()
    Getter for code Type of error that occurred
    java.util.ArrayList<ErrorDetail> getDetails()
    Getter for details Array of detailed error messages
    java.lang.String getMessage()
    Getter for message Short one-line message to summaryize what went wrong
    ErrorTargetCode getTarget()
    Getter for target What object or service caused the error?
    void setCode​(ErrorCodeId value)
    Setter for code Type of error that occurred
    void setDetails​(java.util.ArrayList<ErrorDetail> value)
    Setter for details Array of detailed error messages
    void setMessage​(java.lang.String value)
    Setter for message Short one-line message to summaryize what went wrong
    void setTarget​(ErrorTargetCode value)
    Setter for target What object or service caused the error?
    java.lang.String toString()
    Returns a JSON string representation of ErrorInfo

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

  • Method Details

    • getCode

      public ErrorCodeId getCode()
      Getter for code Type of error that occurred
    • setCode

      public void setCode​(ErrorCodeId value)
      Setter for code Type of error that occurred
    • getMessage

      public java.lang.String getMessage()
      Getter for message Short one-line message to summaryize what went wrong
    • setMessage

      public void setMessage​(java.lang.String value)
      Setter for message Short one-line message to summaryize what went wrong
    • getTarget

      public ErrorTargetCode getTarget()
      Getter for target What object or service caused the error?
    • setTarget

      public void setTarget​(ErrorTargetCode value)
      Setter for target What object or service caused the error?
    • getDetails

      public java.util.ArrayList<ErrorDetail> getDetails()
      Getter for details Array of detailed error messages
    • setDetails

      public void setDetails​(java.util.ArrayList<ErrorDetail> value)
      Setter for details Array of detailed error messages
    • toString

      public java.lang.String toString()
      Returns a JSON string representation of ErrorInfo
      Overrides:
      toString in class java.lang.Object