CatapultServer  v0.5.0.1 (Elephant)
catapult::exception_detail Namespace Reference

Classes

class  Make
 Helper class for creating boost::error_info. More...
 

Functions

template<typename T , typename X = std::enable_if_t<!std::is_pointer_v<T>>>
constexpr T ConvertToValue (const T &value)
 
template<typename TValue , typename TTag >
constexpr TValue ConvertToValue (const utils::BaseValue< TValue, TTag > &value)
 Converts value into a value that can be stored in a catapult exception. More...
 
template<typename T >
constexpr T ConvertToValue (const std::atomic< T > &value)
 Converts value into a value that can be stored in a catapult exception. More...
 
template<typename TInputIterator >
std::string ConvertToValue (const utils::ContainerHexFormatter< TInputIterator > &value)
 Converts value into a value that can be stored in a catapult exception. More...
 

Function Documentation

◆ ConvertToValue() [1/4]

template<typename T >
constexpr T catapult::exception_detail::ConvertToValue ( const std::atomic< T > &  value)
constexpr

Converts value into a value that can be stored in a catapult exception.

◆ ConvertToValue() [2/4]

template<typename T , typename X = std::enable_if_t<!std::is_pointer_v<T>>>
constexpr T catapult::exception_detail::ConvertToValue ( const T &  value)
constexpr

Converts value into a value that can be stored in a catapult exception.

Note
pointer types are not supported.
Here is the caller graph for this function:

◆ ConvertToValue() [3/4]

template<typename TValue , typename TTag >
constexpr TValue catapult::exception_detail::ConvertToValue ( const utils::BaseValue< TValue, TTag > &  value)
constexpr

Converts value into a value that can be stored in a catapult exception.

Here is the call graph for this function:

◆ ConvertToValue() [4/4]

template<typename TInputIterator >
std::string catapult::exception_detail::ConvertToValue ( const utils::ContainerHexFormatter< TInputIterator > &  value)

Converts value into a value that can be stored in a catapult exception.