Skip to content

Class: NetworkBadRequestError ​

indicates a malformed request.

e.g. invalid gamemode/mode/stat/interval combination, missing param, etc. HTTP 400

Extends ​

Constructors ​

Constructor ​

ts
new NetworkBadRequestError(
   network: string, 
   message: string, 
   options?: object): NetworkBadRequestError;

Parameters ​

ParameterType
networkstring
messagestring
options{ cause?: unknown; url?: string; }
options.cause?unknown
options.url?string

Returns ​

NetworkBadRequestError

Overrides ​

NetworkAPIError.constructor

Properties ​

PropertyModifierTypeInherited from
networkreadonlystringNetworkAPIError.network
statusreadonlynumber | undefinedNetworkAPIError.status
url?readonlystringNetworkAPIError.url

Distributed under the MIT License.