Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FunctionError

A error wrapper for a function.

Hierarchy

  • Error
    • FunctionError

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • new FunctionError(err?: any, func?: Function, index?: number): FunctionError
  • Initializes a new instance of that class.

    Parameters

    • Optional err: any
    • Optional func: Function
    • Optional index: number

    Returns FunctionError

Properties

Protected _error

_error: any

Stores the inner error.

Protected _function

_function: Function

Stores the underlying function.

Protected _index

_index: number

Stores the (zero based) index.

message

message: string

name

name: string

Static Error

Error: ErrorConstructor

Accessors

index

  • get index(): number
  • Gets the (zero based) index.

    Returns number

innerError

  • get innerError(): any

stack

  • get stack(): string
  • inheritdoc

    Returns string

Methods

toString

  • toString(): string

Generated using TypeDoc