Library referenceClasses
KrunkerServerError
a 5xx; retried once before it is thrown
Extends
Constructors
Constructor
new KrunkerServerError(
status,
url,
body,
message?
): KrunkerServerError;Parameters
| Parameter | Type |
|---|---|
status | number |
url | string |
body | unknown |
message? | string |
Returns
KrunkerServerError
Inherited from
Properties
| Property | Modifier | Type | Description | Inherited from |
|---|---|---|---|---|
body | readonly | unknown | parsed error body, or the raw text when it was no json | KrunkerHttpError.body |
cause? | public | unknown | - | KrunkerHttpError.cause |
message | public | string | - | KrunkerHttpError.message |
name | public | string | - | KrunkerHttpError.name |
stack? | public | string | - | KrunkerHttpError.stack |
status | readonly | number | - | KrunkerHttpError.status |
url | readonly | string | - | KrunkerHttpError.url |