Class PublishError (2.16.6)

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
NameDescription
key string
err grpc.ServiceError

Properties

code

code: grpc.status;
Property Value
TypeDescription
grpc.Status

details

details: string;
Property Value
TypeDescription
string

error

error: grpc.ServiceError;
Property Value
TypeDescription
grpc.ServiceError

metadata

metadata: grpc.Metadata;
Property Value
TypeDescription
grpc.Metadata

orderingKey

orderingKey: string;
Property Value
TypeDescription
string