How are error messages handled in tax service results?
Overview
Error message handling in tax and address services results.
Environment
SDK
Resolution
The generic format for error messages in output objects is shown below. Errors are returned in the Message class.
Properties:
Summary: string [int MAX_VALUE] The message summary in short form.
Details: string [int MAX_VALUE] Description of the error or warning.
RefersTo: string [int MAX_VALUE] The data used during the request that caused the message to be generated.
Severity: enum as string [see below] Classifies severity of message. One of:
SeverityLevelId | Description |
0 | Success |
1 | Warning |
2 | Error |
3 | Exception |
Source: string [int MAX_VALUE] The internal location that generated the message.