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
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
- ParseError.prepareStackTrace(err, stackTraces)
- Arguments
err (
Error()) – NonestackTraces (
[CallSite]()) – None
- Return type
any
- ParseError.stackTraceLimit
- Type
number
Methods
static captureStackTrace
- ParseError.captureStackTrace(targetObject[, constructorOpt])
- Arguments
targetObject (
object()) – NoneconstructorOpt (
Function()) – optional None
Create .stack property on a target object
- Return type
void