emlabcpp
modern opinionated embedded C++ library
error_code.h File Reference
#include <concepts>
#include <cstdint>
#include <type_traits>
+ Include dependency graph for error_code.h:

Go to the source code of this file.

Classes

struct  emlabcpp::_error_category
 
struct  emlabcpp::error_category< T >
 
struct  emlabcpp::undefined_error_category< T >
 
struct  emlabcpp::bool_category
 
struct  emlabcpp::error_code
 

Namespaces

 emlabcpp
 MIT License.
 

Typedefs

using emlabcpp::error_value_type = uint32_t
 

Variables

template<typename T >
undefined_error_category< T > const emlabcpp::error_category_v
 
template<typename T >
concept emlabcpp::error_type = requires { error_category_v< T >; }
 
template<>
bool_category const emlabcpp::error_category_v< bool > = {}