BadRequestError
Error thrown when request is malformed
Extends
Error
Constructors
new BadRequestError(message)
new BadRequestError(
message
?):BadRequestError
Parameters
▪ message?: string
Inherited from
Error.constructor
Source
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es5.d.ts:1081
new BadRequestError(message, options)
new BadRequestError(
message
?,options
?):BadRequestError
Parameters
▪ message?: string
▪ options?: ErrorOptions
Inherited from
Error.constructor
Source
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es5.d.ts:1081
Properties
_tag
_tag:
"BadRequestError"
='BadRequestError'
Source
packages/server/src/BadRequestError.js:13
cause
cause?:
unknown
Inherited from
Error.cause
Source
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es2022.error.d.ts:24
message
message:
string
Inherited from
Error.message
Source
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es5.d.ts:1076
name
name:
"BadRequestError"
='BadRequestError'
Overrides
Error.name
Source
packages/server/src/BadRequestError.js:9
stack
stack?:
string
Inherited from
Error.stack
Source
node_modules/.pnpm/typescript@5.3.3/node_modules/typescript/lib/lib.es5.d.ts:1077
prepareStackTrace
static
prepareStackTrace?: (err
,stackTraces
) =>any
Optional override for formatting stack traces
See
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Optional override for formatting stack traces
Parameters
▪ err: Error
▪ stackTraces: CallSite
[]
Returns
See
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Inherited from
Error.prepareStackTrace
Source
node_modules/.pnpm/bun-types@1.0.24/node_modules/bun-types/types.d.ts:2241
stackTraceLimit
static
stackTraceLimit:number
Inherited from
Error.stackTraceLimit
Source
node_modules/.pnpm/bun-types@1.0.24/node_modules/bun-types/types.d.ts:2245
Methods
captureStackTrace()
captureStackTrace(targetObject, constructorOpt)
static
captureStackTrace(targetObject
,constructorOpt
?):void
Create .stack property on a target object
Parameters
▪ targetObject: object
▪ constructorOpt?: Function
Inherited from
Error.captureStackTrace
Source
node_modules/.pnpm/bun-types@1.0.24/node_modules/bun-types/types.d.ts:2234
captureStackTrace(targetObject, constructorOpt)
static
captureStackTrace(targetObject
,constructorOpt
?):void
Create .stack property on a target object
Parameters
▪ targetObject: object
▪ constructorOpt?: Function
Inherited from
Error.captureStackTrace
Source
node_modules/.pnpm/@types+node@20.11.5/node_modules/@types/node/globals.d.ts:21
Generated using typedoc-plugin-markdown and TypeDoc