Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Error

Generic and versatile error abstraction

class

Hierarchy

  • Error

Index

Constructors

Accessors

Constructors

constructor

  • new Error(message: string, source: Source, location: any): Error
  • Parameters

    • message: string

      The error message

    • source: Source

      The source where the error happened

    • location: any

      The location in the source where the error happened

    Returns Error

Accessors

location

  • get location(): any
  • Returns the location in the source where the error happened.

    Returns any

message

  • get message(): string
  • Returns the error message.

    Returns string

source

Generated using TypeDoc