StormByte 2.0.0
C++26 foundation of the StormByte suite
 
Loading...
Searching...
No Matches
error.hxx File Reference
#include <StormByte/cstring.hxx>
#include <StormByte/visibility.h>
#include <concepts>
#include <string>
#include <system_error>
#include <type_traits>
Include dependency graph for error.hxx:

Go to the source code of this file.

Classes

class  StormByte::Error::Category< Enum >
 std::error_category backed by StormByte::Error::Domain. More...
 
struct  StormByte::Error::Domain< Code >
 Domain for StormByte::Error::Code. More...
 
class  StormByte::Error::Fault
 Held error: an std::error_code and a StormByte::CString message. More...
 

Namespaces

namespace  StormByte
 Root namespace of the StormByte suite.
 
namespace  StormByte::Error
 Error-code domains and the StormByte::Error::Fault value type.
 
namespace  std
 STL namespace.
 

Concepts

concept  StormByte::Error::Described
 Enum that has a StormByte::Error::Domain specialization.
 

Enumerations

enum class  StormByte::Error::Code { StormByte::Error::Success = 0 , StormByte::Error::Unknown }
 Suite-level codes that are not module-specific. More...
 

Functions

const Category< Code > & StormByte::Error::category () noexcept
 Process-wide category for StormByte::Error::Code.
 
std::error_code StormByte::Error::make_error_code (Code e) noexcept
 Builds an std::error_code from StormByte::Error::Code.