package
0.0.0-20180419104149-40f2d1d03a96
Repository: https://github.com/tjfoc/hyperledger-fabric-gm.git
Documentation: pkg.go.dev

# Functions

Error creates a CallStackError using a specific component code and reason code (no callstack is generated).
ErrorWithCallstack creates a CallStackError using a specific component code and reason code and generates its callstack.

# Constants

Invalid inputs on API calls.
BCCSP is fabic/BCCSP.
ChaincodeSupport is fabric/core/chaincode.
Common is fabric/common.
Example, duplicate transactions or replay attacks.
Core is fabric/core.
DeliveryService is fabric/core/deliverservice.
Event is fabric/events component.
File IO errors.
Forbidden due to access control issues.
Request for resource is not available.
Gossip is fabric/gossip.
Internal server errors that are not classified below.
Ledger is fabric/core/ledger.
MaxCallStackLength is the maximum length of the stored call stack.
MSP is fabric/msp.
Network IO errors.
Not Found (eg chaincode not found).
Requested chaincode function has not been implemented.
Orderer is fabric/orderer.
Payload of the request exceeds allowed size.
Peer is fabric/peer.
SystemChaincode is fabric/core/scc (system chaincode).
Request timeout (chaincode or ledger).
Requested chaincode is not available.
Example, marshal/unmarshalling protobuf error.
Protocol version is no longer supported.

# Interfaces

CallStackError is a general interface for Fabric errors.