Options
All
  • Public
  • Public/Protected
  • All
Menu

class for decoding errors

extends

{Error}

Hierarchy

  • Error
    • TCModelError

Index

Constructors

Properties

Constructors

constructor

  • new TCModelError(fieldName: string, passedValue: any, msg?: string): TCModelError
  • constructor - constructs an TCModelError

    Parameters

    • fieldName: string

      the errored field

    • passedValue: any

      what was passed

    • Default value msg: string = ""

    Returns TCModelError

Properties

message

message: string

name

name: string

Optional stack

stack: string

Static Error

Error: ErrorConstructor

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc