ArgumentError
Extends
TypeError
Constructors
new ArgumentError()
new ArgumentError(
message
?):ArgumentError
Parameters
• message?: string
Returns
Inherited from
TypeError.constructor
new ArgumentError()
new ArgumentError(
message
?):ArgumentError
Parameters
• message?: string
Returns
Inherited from
TypeError.constructor
Properties
message
message:
string
Inherited from
TypeError.message
name
name:
"ArgumentError"
=ArgumentError.NAME
Overrides
TypeError.name
stack?
optional
stack:string
Inherited from
TypeError.stack
NAME
readonly
static
NAME:"ArgumentError"
="ArgumentError"
prepareStackTrace()?
static
optional
prepareStackTrace: (err
,stackTraces
) =>any
Optional override for formatting stack traces
Parameters
• err: Error
• stackTraces: CallSite
[]
Returns
any
See
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Inherited from
TypeError.prepareStackTrace