Class AckError (4.8.0)

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
Name
Description
errorCode
message
string

Properties

errorCode

  errorCode 
 : 
  
 AckResponse 
 ; 
 
Design a Mobile Site
View Site in Mobile | Classic
Share by: