CommitStatusError is thrown when a failure occurs obtaining the commit status of a transaction.

Hierarchy (View Summary)

Constructors

  • Parameters

    • properties: Readonly<
          {
              cause: ServiceError;
              code: number;
              details: ErrorDetail[];
              message?: string;
              transactionId: string;
          },
      >

    Returns CommitStatusError

Properties

cause: ServiceError

Raw underlying gRPC ServiceError.

code: number

gRPC status code.

https://grpc.io/docs/guides/status-codes/ for descriptions of status codes.

details: ErrorDetail[]

gRPC error details.

message: string
name: string
stack?: string
transactionId: string

The ID of the transaction.

prepareStackTrace?: (err: Error, stackTraces: CallSite[]) => any

Optional override for formatting stack traces

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • OptionalconstructorOpt: Function

    Returns void