Kagome
Polkadot Runtime Engine in C++17
token_error.hpp File Reference
#include <cstdint>
#include "outcome/outcome.hpp"
Include dependency graph for token_error.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 kagome::primitives
 

Enumerations

enum  kagome::primitives::TokenError : uint8_t {
  kagome::primitives::TokenError::NoFunds = 1, kagome::primitives::TokenError::WouldDie, kagome::primitives::TokenError::BelowMinimum, kagome::primitives::TokenError::CannotCreate,
  kagome::primitives::TokenError::UnknownAsset, kagome::primitives::TokenError::Frozen, kagome::primitives::TokenError::Unsupported
}
 

Functions

template<class Stream , typename = std::enable_if_t<Stream::is_encoder_stream>>
Stream & kagome::primitives::operator<< (Stream &s, const TokenError &v)
 
template<class Stream , typename = std::enable_if_t<Stream::is_decoder_stream>>
Stream & kagome::primitives::operator>> (Stream &s, TokenError &v)
 
 OUTCOME_HPP_DECLARE_ERROR (kagome::primitives, TokenError)
 

Function Documentation

OUTCOME_HPP_DECLARE_ERROR ( kagome::primitives  ,
TokenError   
)