QuestionQ14

Client Applications

How can a client application obtain descriptive error text for each endorsing peer after a transaction endorsement failure?

  • A Extract relevant entries from the endorsing peer logs.
  • B Examine the message of the associated cause or wrapped error.
  • C Look up the gRPC status code for the error.
  • D Extract the details associated with the returned error.
Explanation

Fabric Gateway places information from failed remote peer requests in the returned error’s Details field. Each ErrorDetail identifies the peer and contains the error message generated by that peer, enabling per-endorsing-peer descriptive error text.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!