Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FormatError

An error that is thrown when the format of an argument is invalid, or when a composite format string is not well formed.

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

Hierarchy

Implements

  • Error

Index

Constructors

Properties

Constructors

constructor

  • Creates an error that is thrown when the format of an argument is invalid, or when a composite format string is not well formed.

    Parameters

    • Optional message: string

      A human-readable description of the error.

    • Optional innerError: SystemError

      An error to rethrow while also preserving its stack trace.

    Returns FormatError

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