Class AckError (3.2.1)

Thrown when an error is detected in an ack/nack/modack call, when exactly-once delivery is enabled on the subscription. This will only be thrown for actual errors that can't be retried.

Inheritance

Error > AckError

Package

@google-cloud/pubsub

Constructors

(constructor)(errorCode, message)

constructor(errorCode: AckResponse, message?: string);

Constructs a new instance of the AckError class

Parameters
NameDescription
errorCode AckResponse
message string

Properties

errorCode

errorCode: AckResponse;