Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Error
    • AGError

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

  • new AGError(code: string, error: Error, _extra?: any): AGError
  • Parameters

    • code: string
    • error: Error
    • Optional _extra: any

    Returns AGError

Properties

codeList

codeList: string[]

id

id: string

original

original: Error

Accessors

servCode

  • get servCode(): any
  • Returns any

Methods

Static isOf

  • isOf(e: Error, ...codes: (string | number)[]): boolean
  • Parameters

    • e: Error
    • Rest ...codes: (string | number)[]

    Returns boolean