Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TcBindingException

Exception Class, for every Error produced by the TcBinding Object through the TcSymbol Object

Will also store the TcBinding, that threw the exception originally

Hierarchy

Index

Constructors

Properties

Accessors

Constructors

constructor

  • Construct a TcBindingException with the TcContext, from which it originated, the TcBinding, which raised it and the error message

    Parameters

    • context: TcContext

      The TcContext from which the exception originated

    • sender: TcBinding

      The TcBinding from which the exception originated

    • message: string

      Error message

    Returns TcBindingException

  • Construct a TcException with the TcBinding, from which it originated, and the error message, as well as any parent Error that can provide additional information

    Parameters

    • context: TcContext

      The TcContext from which the exception originated

    • sender: TcBinding

      The TcBinding from which the exception originated

    • message: string

      Error message

    • parent: Error

      The parent Error of this TcException

    Returns TcBindingException

  • Construct a TcException with the TcBinding, from which it originated, and the error message, as well as additional data associated with this error

    Parameters

    • context: TcContext

      The TcContext from which the exception originated

    • sender: TcBinding

      The TcBinding from which the exception originated

    • message: string

      Error message

    • data: any

      The Data, which is associated with this TcException

    Returns TcBindingException

  • Construct a TcException with the TcBinding, from which it originated, and the error message, as well as both the parent Error and additional Error Data

    Parameters

    • context: TcContext

      The TcContext from which the exception originated

    • sender: TcBinding

      The TcBinding from which the exception originated

    • message: string

      Error message

    • parent: Error

      The parent Error of this TcException

    • data: any

      The Data, which is associated with this TcException

    Returns TcBindingException

Properties

message

message: string

name

name: string

Optional stack

stack: undefined | string

Accessors

context

data

  • get data(): any | undefined

parent

  • get parent(): Error | undefined

sender

Generated using TypeDoc