ParseError
-
class
ParseError() Error object that is thrown when invalid data is supplied to a function.
Constructors
Properties
Methods
Constructors
-
ParseError.constructor(message) Arguments: - message (
string()) – None
Creates a new ParseError
Return type: ParseError - message (
Properties
-
ParseError.message Type: string
-
ParseError.name Type: string
-
ParseError.stack Type: string optional
-
ParseError.prepareStackTrace Type: function optional Optional override for formatting stack traces
See: https://v8.dev/docs/stack-trace-api#customizing-stack-traces -
ParseError.prepareStackTrace(err, stackTraces) Arguments: - err (
Error()) – None - stackTraces (
[CallSite]()) – None
Return type: any
- err (
-
-
ParseError.stackTraceLimit Type: number