UnexpectedResponseError
Home > @gooddata/sdk-backend-spi > UnexpectedResponseError
UnexpectedResponseError class
This exception MUST be thrown when communication with the backend encounters an unexpected response status code and it cannot handle or categorize it to a known, domain-specific error.
Signature:
export declare class UnexpectedResponseError extends AnalyticalBackendError
Extends: AnalyticalBackendError
Constructors
| Constructor | Modifiers | Description |
|---|---|---|
| (constructor)(message, httpStatus, responseBody, cause) | Constructs a new instance of the UnexpectedResponseError class |
Properties
| Property | Modifiers | Type | Description |
|---|---|---|---|
| httpStatus | number | ||
| responseBody | unknown |