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?voidsetCode(ErrorCodeId value) Setter for code Type of error that occurredvoidsetDetails(ArrayList<ErrorDetail> value) Setter for details Array of detailed error messagesvoidsetMessage(String value) Setter for message Short one-line message to summaryize what went wrongvoidsetTarget(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
-