@hyperledger/fabric-gateway
    Preparing search index...

    Interface SubmitError

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

    interface SubmitError {
        cause: ServiceError;
        code: number;
        details: ErrorDetail[];
        message: string;
        name: string;
        stack?: string;
        transactionId: string;
    }

    Hierarchy (View Summary)

    Index

    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.