ProcessErrorArgs interface

Arguments to the processError callback.

Properties

entityPath

The entity path for the current receiver.

error

The error.

errorSource

The operation where the error originated.

'abandon': Errors that occur when if abandon is triggered automatically. 'complete': Errors that occur when autoComplete completes a message. 'processMessageCallback': Errors thrown from the user's processMessage callback passed to subscribe. 'receive': Errors thrown when receiving messages. 'renewLock': Errors thrown when automatic lock renewal fails.

fullyQualifiedNamespace

The fully qualified namespace for the Service Bus.

identifier

The identifier of the client that raised this event.

Property Details

entityPath

The entity path for the current receiver.

entityPath: string

Property Value

string

error

The error.

error: ServiceBusError | Error

Property Value

ServiceBusError | Error

errorSource

The operation where the error originated.

'abandon': Errors that occur when if abandon is triggered automatically. 'complete': Errors that occur when autoComplete completes a message. 'processMessageCallback': Errors thrown from the user's processMessage callback passed to subscribe. 'receive': Errors thrown when receiving messages. 'renewLock': Errors thrown when automatic lock renewal fails.

errorSource: "abandon" | "complete" | "processMessageCallback" | "receive" | "renewLock"

Property Value

"abandon" | "complete" | "processMessageCallback" | "receive" | "renewLock"

fullyQualifiedNamespace

The fully qualified namespace for the Service Bus.

fullyQualifiedNamespace: string

Property Value

string

identifier

The identifier of the client that raised this event.

identifier: string

Property Value

string