Class: NetworkValidationError
indicates that the response does not conform to the expected schema.
typically indicates an upstream response shape change or unexpected payload. it shouldn't happen, but- CraftiGames~
Extends
Constructors
Constructor
ts
new NetworkValidationError(
network: string,
message: string,
options?: object): NetworkValidationError;Parameters
| Parameter | Type |
|---|---|
network | string |
message | string |
options | { cause?: unknown; issues?: unknown; url?: string; } |
options.cause? | unknown |
options.issues? | unknown |
options.url? | string |
Returns
NetworkValidationError
Overrides
Properties
| Property | Modifier | Type | Inherited from |
|---|---|---|---|
issues | readonly | unknown | - |
network | readonly | string | NetworkAPIError.network |
status | readonly | number | undefined | NetworkAPIError.status |
url? | readonly | string | NetworkAPIError.url |