Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

  • new YAMLError(name: "YAMLParseError" | "YAMLWarning", pos: [number, number], code: ErrorCode, message: string): YAMLError
  • Parameters

    • name: "YAMLParseError" | "YAMLWarning"
    • pos: [number, number]
    • code: ErrorCode
    • message: string

    Returns YAMLError

Properties

code

code: ErrorCode

Optional linePos

linePos?: [LinePos] | [LinePos, LinePos]

message

message: string

name

name: "YAMLParseError" | "YAMLWarning"

pos

pos: [number, number]

Optional stack

stack?: string

Static Optional prepareStackTrace

prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

Type declaration

Static stackTraceLimit

stackTraceLimit: number

Methods

Static captureStackTrace

  • captureStackTrace(targetObject: object, constructorOpt?: Function): void
  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Generated using TypeDoc