Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • StaticIncident

Callable

  • __call<N, C>(cause: C, name: N, message?: string | function): Incident<any, N, C>
  • __call<N>(name: N, message?: string | function): Incident<any, N, undefined>
  • __call<D, N, C>(cause: C, name: N, data: D, message?: string | function): Incident<D, N, C>
  • __call<D, N>(name: N, data: D, message?: string | function): Incident<D, N, undefined>
  • __call<D, N, C>(error: Error & object): Incident<D, N, C>
  • __call(error: Error): Incident<any, string, undefined>
  • Type parameters

    • N: string

    • C: Error

    Parameters

    • cause: C
    • name: N
    • Optional message: string | function

    Returns Incident<any, N, C>

  • Type parameters

    • N: string

    Parameters

    • name: N
    • Optional message: string | function

    Returns Incident<any, N, undefined>

  • Type parameters

    • D: any

    • N: string

    • C: Error

    Parameters

    • cause: C
    • name: N
    • data: D
    • Optional message: string | function

    Returns Incident<D, N, C>

  • Type parameters

    • D: any

    • N: string

    Parameters

    • name: N
    • data: D
    • Optional message: string | function

    Returns Incident<D, N, undefined>

  • Type parameters

    • D: any

    • N: string

    • C: Error | undefined

    Parameters

    • error: Error & object

    Returns Incident<D, N, C>

  • Parameters

    • error: Error

    Returns Incident<any, string, undefined>

Index

Constructors

Constructors

constructor

  • new StaticIncident<N, C>(cause: C, name: N, message?: string | function): Incident<any, N, C>
  • new StaticIncident<N>(name: N, message?: string | function): Incident<any, N, undefined>
  • new StaticIncident<D, N, C>(cause: C, name: N, data: D, message?: string | function): Incident<D, N, C>
  • new StaticIncident<D, N>(name: N, data: D, message?: string | function): Incident<D, N, undefined>
  • Type parameters

    • N: string

    • C: Error

    Parameters

    • cause: C
    • name: N
    • Optional message: string | function

    Returns Incident<any, N, C>

  • Type parameters

    • N: string

    Parameters

    • name: N
    • Optional message: string | function

    Returns Incident<any, N, undefined>

  • Type parameters

    • D: any

    • N: string

    • C: Error

    Parameters

    • cause: C
    • name: N
    • data: D
    • Optional message: string | function

    Returns Incident<D, N, C>

  • Type parameters

    • D: any

    • N: string

    Parameters

    • name: N
    • data: D
    • Optional message: string | function

    Returns Incident<D, N, undefined>

Generated using TypeDoc