6 #ifndef KAGOME_CORE_PRIMITIVES_TOKEN_ERROR_HPP 7 #define KAGOME_CORE_PRIMITIVES_TOKEN_ERROR_HPP 33 typename = std::enable_if_t<Stream::is_encoder_stream>>
37 return s << static_cast<uint8_t>(v) - 1;
41 typename = std::enable_if_t<Stream::is_decoder_stream>>
56 #endif // KAGOME_CORE_PRIMITIVES_TOKEN_ERROR_HPP
Funds exist but are frozen.
Account that must exist would die.
OUTCOME_HPP_DECLARE_ERROR(kagome::primitives, TokenError)
Account cannot be created.
Stream & operator>>(Stream &s, ArithmeticError &v)
The asset in question is unknown.
Operation is not supported by the asset.
Stream & operator<<(Stream &s, const ArithmeticError &v)
Account cannot exist with the funds that would be given.
libp2p::connection::Stream Stream