Class ErrorInfo
java.lang.Object
net.avalara.avatax.rest.client.models.ErrorInfo
Information about the error that occurred
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCode()
Getter for code Type of error that occurredGetter for details Array of detailed error messagesGetter for message Short one-line message to summaryize what went wrongGetter for target What object or service caused the error?void
setCode
(ErrorCodeId value) Setter for code Type of error that occurredvoid
setDetails
(ArrayList<ErrorDetail> value) Setter for details Array of detailed error messagesvoid
setMessage
(String value) Setter for message Short one-line message to summaryize what went wrongvoid
setTarget
(ErrorTargetCode value) Setter for target What object or service caused the error?toString()
Returns a JSON string representation of ErrorInfo
-
Constructor Details
-
ErrorInfo
public ErrorInfo()
-
-
Method Details
-
getCode
Getter for code Type of error that occurred -
setCode
Setter for code Type of error that occurred -
getMessage
Getter for message Short one-line message to summaryize what went wrong -
setMessage
Setter for message Short one-line message to summaryize what went wrong -
getTarget
Getter for target What object or service caused the error? -
setTarget
Setter for target What object or service caused the error? -
getDetails
Getter for details Array of detailed error messages -
setDetails
Setter for details Array of detailed error messages -
toString
Returns a JSON string representation of ErrorInfo
-