# Functions
FromError returns a Status representing err if available, otherwise it returns nil, false.
New returns a Status with the given parameters.
NewFromExtractedChaincodeError returns Status when a chaincode error occurs.
NewFromGRPCStatus new Status from gRPC status response.
NewFromProposalResponse creates a status created from the given ProposalResponse.
ToFabricCommonStatusCode cast to common.Status.
ToGRPCStatusCode cast to gRPC status code.
ToOrdererStatusCode cast to peer status.
ToPeerStatusCode cast to peer status.
ToSDKStatusCode cast to fabric-sdk-go status code.
ToTransactionValidationCode cast to transaction validation status code.
# Constants
ChaincodeNameNotFound indicates that an that an attempt was made to invoke a chaincode that's not yet initialized.
ChaincodeStatus defines the status codes returned by chaincode.
ClientStatus is a generic client status.
ConnectionFailed is returned when a network connection attempt from the SDK fails.
DiscoveryServerStatus status returned by the Discovery Server.
EmptyCert is return when an empty cert is returned.
EndorsementMismatch is returned when there is a mismatch in endorsements received by the SDK.
EndorserClientStatus status returned from the endorser client.
EndorserServerStatus status returned by the endorser server.
EventServerStatus status returned by the event service.
FabricCAServerStatus status returned by the Fabric CA server.
GenericTransient is generally used by tests to indicate that a retry is possible.
GRPCTransportStatus is the status associated with requests made over gRPC connections.
HTTPTransportStatus is the status associated with requests made over HTTP connections.
MissingEndorsement is if an endorsement is missing.
MultipleErrors multiple errors occurred.
NoPeersFound No peers were discovered/configured.
OK is returned on success.
OrdererClientStatus status returned from the orderer client.
OrdererServerStatus status returned by the ordering service.
PvtDataDisseminationFailed indicates that Gossip failed to disseminate private data to the required number of peers.
QueryEndorsers error indicates that no endorser group was found that would satisfy the chaincode policy.
SignatureVerificationFailed is when signature fails verification.
TestStatus is used by tests to create retry codes.
Timeout operation timed out.
Unknown represents status codes that are uncategorized or unknown to the SDK.
UnknownStatus unknown status group.
# Structs
Status provides additional information about an unsuccessful operation performed by fabric-sdk-go.