Class: QueueFatalError
TypeScript 0.4.0 · Source commit cbff27b8a34e1384384018680e46c20d5c610cc9. Generated with reviewed comment corrections; see generation notes.
Defined in: errors.ts:74
QueueFatalError is the reason a consumer was torn down: the queue it depends
on is gone — deleted out-of-band (a consume returned PMQ02), or an exclusive
queue whose keep-alive permanently failed. It is delivered to
Consumer.onClose / HandlerConsumer.onClose and to the connection-level
onQueueFatal handler / 'queueFatal' event. Mirrors the Go client's
QueueFatalError + ErrQueueGone. Check err instanceof QueueFatalError.
Extends
Error
Constructors
Constructor
new QueueFatalError(
queue,cause?):QueueFatalError
Defined in: errors.ts:79
Parameters
queue
string
cause?
Error
Returns
QueueFatalError
Overrides
Error.constructor
Properties
cause?
readonlyoptionalcause?:Error
Defined in: errors.ts:78
The underlying cause (e.g. a QueueNotFoundError when deleted out-of-band).
queue
readonlyqueue:string
Defined in: errors.ts:76
The queue that is gone.