Class RuntimeError

RuntimeError will be thrown by VexFlow classes in case of error.

Hierarchy

  • Error
    • RuntimeError

Constructors

  • Parameters

    • code: string
    • message: string = ''

    Returns RuntimeError

Properties

code: string
message: string
name: string
stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Type declaration

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void