Package version:

Interface ProcessErrorArgs

Arguments to the processError callback.

interface ProcessErrorArgs {
    entityPath: string;
    error: Error | ServiceBusError;
    errorSource: "abandon" | "complete" | "processMessageCallback" | "receive" | "renewLock";
    fullyQualifiedNamespace: string;
    identifier: string;
}

Properties

entityPath: string

The entity path for the current receiver.

error: Error | ServiceBusError

The error.

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

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: string

The fully qualified namespace for the Service Bus.

identifier: string

The identifier of the client that raised this event.

Generated using TypeDoc