Class PublishError (4.4.0)

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

metadata: grpc.Metadata;

orderingKey

orderingKey: string;