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

Hierarchy (view full)



cause: ServiceError

Raw underlying gRPC ServiceError.

code: number

gRPC status code.

See 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


  • Create .stack property on a target object


    • targetObject: object
    • Optional constructorOpt: Function

    Returns void