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