# Constants

AssetNotFound indicates that the specified asset is not found.
CertificateAlreadyRegistered indicates that the given certificate is already registered.
CertificateNotFound indicates that the given certificate is not found.
Conflict indicates that the system encountered conflicting transactions.
ContractAlreadyRegistered indicates that the given contract is already registered.
ContractContextualError indicates that the contract has a contextual error that is not recoverable by the ledger.
ContractNotFound indicates that the given contract is not found.
DatabaseError indicates that the system encountered a database error such as IO error.
FunctionNotFound indicates that the given function is not found.
InconsistentRequest indicates that a request is inconsistent and could be maliciously tampered.
InconsistentStates indicates that the ledger states between multiple organizations are inconsistent.
InvalidContract indicates that some previously executed contract produced an asset record which could not be validated.
InvalidFunction indicates that the given function is invalid.
InvalidHash indicates that the existing hash value of an asset record is different from the expected value.
InvalidNonce indicates that the same nonce value has been used more than once.
InvalidOutput indicates that the existing data value of an asset record is different from the expected value.
InvalidPrevHash indicates that the existing prev_hash value of an asset record is different from the expected value.
InvalidRequest indicates that the request is invalid.
InvalidSignature indicates that the given signature is invalid or a signature can not be created for some reason.
OK indicates that the registration/execution request has succeeded.
RuntimeError indicates that the system encountered a runtime error.
Unavailable indicates that the system is temporarily unavailable.
UnknownTransactionStatus indicates that the system encountered a unknown transaction status.
UnloadableContract indicates that the given contract could not be loaded for some reason, e.g., instantiation failure.
UnloadableFunction indicates that the given function could not be loaded for some reason.
UnloadableKey indicates that the given key could not be loaded for some reason, e.g.

# Type aliases

StatusCode hints at what happened after a gRPC request is handled.