parse MethodStatic
Attempt to parse the error from the response. Attempts to parse error data in a format that is returned by WSG services. This method only accesses data that was parsed by parent class to avoid dependencies on http libraries.
parse(response: any, log: boolean = true): ResponseError
Parameter | Type | Description |
---|---|---|
response | any | Response from the server. |
log | boolean |
Returns - Parsed error.
Defined in
Last Updated: 08 January, 2020