Class PublishError (3.1.1)

Exception to be thrown during failed ordered publish.

Error

Inheritance

Error > PublishError

Package

@google-cloud/pubsub

Constructors

(constructor)(key, err)

  constructor 
 ( 
 key 
 : 
  
 string 
 , 
  
 err 
 : 
  
 grpc 
 . 
 ServiceError 
 ); 
 

Constructs a new instance of the PublishError class

Parameters
Name Description
key string
err grpc. ServiceError

Properties

code

  code 
 : 
  
 grpc 
 . 
 status 
 ; 
 

details

  details 
 : 
  
 string 
 ; 
 

error

  error 
 : 
  
 grpc 
 . 
 ServiceError 
 ; 
 
  metadata 
 : 
  
 grpc 
 . 
 Metadata 
 ; 
 

orderingKey

  orderingKey 
 : 
  
 string 
 ; 
 
Create a Mobile Website
View Site in Mobile | Classic
Share by: