Members
(constant) DEFAULT_STATUS_CODE :number
The default value of status code if there is no status code for this service failure.
Type:
- number
Methods
getStatusCode() → {number}
Returns the HTTP Status code or DEFAULT_STATUS_CODE if the status code doesn't adequately represent the error.
Returns:
- Type
- number
getMessage() → {string}
Returns the detailed message of this error.
Returns:
the detail message
- Type
- string
getRequestTrackingId() → {string}
Returns the Request ID (the value of the X-Request-ID header).
Returns:
- Type
- string
toString() → {string}
Returns a user-friendly interpretation of the current error instance.
Returns:
- Type
- string