Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SystemError

Base system error class that allows for syntactic C#-like Error class extension.

See: https://msdn.microsoft.com/library/system.systemexception.aspx

Hierarchy

Implements

  • Error

Index

Constructors

Properties

Constructors

constructor

  • Creates an abstract system error object derived from the built-in javascript Error type and decorates it with additional properties.

    Parameters

    • Optional message: string

      A human-readable description of the error.

    • Optional innerError: SystemError

      An error to wrap while also preserving its stack trace.

    Returns SystemError

Properties

innerError

innerError: Error

An inner error which the current error wraps.

message

message: string

A human-readable description of the error.

name

name: string

A name for the type of error.

stack

stack: string

The non-standard stack property of Error objects offer a trace of which functions were called, in what order, from which line and file, and with what arguments.

Generated using TypeDoc