package
0.0.0-20180830032904-3da98e966145
Repository: https://github.com/traceabilitychain/tac.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 tacchain/core/chaincode.
Common is tacchain/common.
Example, duplicate transactions or replay attacks.
Core is tacchain/core.
DeliveryService is tacchain/core/deliverservice.
Event is tacchain/events component.
File IO errors.
Forbidden due to access control issues.
Request for resource is not available.
Gossip is tacchain/gossip.
Internal server errors that are not classified below.
Ledger is tacchain/core/ledger.
MaxCallStackLength is the maximum length of the stored call stack.
MSP is tacchain/msp.
Network IO errors.
Not Found (eg chaincode not found).
Requested chaincode function has not been implemented.
Orderer is tacchain/orderer.
Payload of the request exceeds allowed size.
Peer is tacchain/peer.
SystemChaincode is tacchain/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 Tacchain errors.