Custom error class thrown by all SDK methods on failure.
All rejected promises from API calls reject with an instance of this class.
Human-readable error message
Optional
Optional server error payload. All enumerable properties are shallow-copied onto this instance.
Returns a multi-line string with the error name, message, and any other properties copied from the server error payload.
HTTP status code from the server error payload; declared explicitly to allow numeric comparisons without type-casting.
Custom error class thrown by all SDK methods on failure.
All rejected promises from API calls reject with an instance of this class.