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