Error thrown when unable to parse the error returned by simulateHandleOp. Contains the original cause of the error for debugging.

try {
// parsing logic
} catch (e) {
throw new ParseError(e);
}

Hierarchy

  • Error
    • ParseError

Constructors

Properties

cause: any

The original error that caused the parsing failure

message: string
name: string
stack?: string
prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

Optional override for formatting stack traces

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void