SubmitError is thrown when a failure occurs submitting an endorsed transaction to the orderer.

Hierarchy (view full)

Constructors

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