An generic error wrapper sent by DeviceEmitter on processing errors

Hierarchy

  • Error
    • DiscoveryError

Constructors

Properties

cause: Error
datagram: Buffer
message: string
name: string
remote: RemoteInfo
stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Type declaration

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

  • Format the error string for [[DiscoveryError]]

    Parameters

    • cause: Error
    • info: RemoteInfo

    Returns string

Generated using TypeDoc