Skip to content

amqpx v1.0.1


amqpx / index / DrainError

Class: DrainError

Defined in: src/errors.ts:22

Thrown when the channel's internal write buffer does not drain within the configured drain timeout. The underlying amqplib channel is closed when this error is thrown.

Extends

  • Error

Constructors

Constructor

new DrainError(message?): DrainError

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1080

Parameters

ParameterType
message?string

Returns

DrainError

Inherited from

Error.constructor

Released under the MIT License.