Defined in: packages/common/src/errors/ServerError.ts:6
Error class representing a "Server Error" error, typically thrown when a server request fails.
new ServerError(
message,
status,
cause?): ServerError;Defined in: packages/common/src/errors/ServerError.ts:16
Initializes a new instance of the error message with a default message indicating that no chain was supplied to the client.
Parameters
| Parameter | Type | Description |
|---|---|---|
|
| The error message. |
|
| The HTTP status code of the error. |
|
| The cause of the error. |
Returns
ServerError