(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, traceId?: string, cause?: Error);
Parameters
Parameter | Type | Description |
---|---|---|
message | string | |
httpStatus | number | |
responseBody | unknown | |
traceId | string | (Optional) |
cause | Error | (Optional) |