(constructor)
Home > @gooddata/sdk-backend-spi > UnexpectedResponseError > (constructor)
UnexpectedResponseError.(constructor)
Constructs a new instance of the UnexpectedResponseError
class
Signature:
constructor(message: string, httpStatus: number, responseBody: unknown, cause?: Error);
Parameters
Parameter | Type | Description |
---|---|---|
message | string | |
httpStatus | number | |
responseBody | unknown | |
cause | Error | (Optional) |