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

Hierarchy (view full)

Constructors

Properties

cause: ServiceError

Raw underlying gRPC error.

code: number

gRPC status code.

See

https://grpc.github.io/grpc/core/md_doc_statuscodes.html 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, stackTraces) => any)

Optional override for formatting stack traces

Type declaration

    • (err, stackTraces): any
    • Parameters

      • err: Error
      • stackTraces: CallSite[]

      Returns any

stackTraceLimit: number

Methods

  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void