Hyper API for C++ 0.0.20746
Hyper client library for C++ applications
Loading...
Searching...
No Matches
hyperapi::ContextId Class Referencefinal

A context id. More...

#include <HyperException.hpp>

Public Member Functions

constexpr ContextId (uint32_t value) noexcept
 
constexpr uint32_t getValue () const noexcept
 

Detailed Description

A context id.

Used to identify the source of an exception. Each throw statement has a unique context id that is stored in the thrown error.

Definition at line 24 of file HyperException.hpp.

Constructor & Destructor Documentation

◆ ContextId()

constexpr hyperapi::ContextId::ContextId ( uint32_t  value)
inlineexplicitconstexprnoexcept

Definition at line 28 of file HyperException.hpp.

Member Function Documentation

◆ getValue()

constexpr uint32_t hyperapi::ContextId::getValue ( ) const
inlineconstexprnoexcept

Definition at line 31 of file HyperException.hpp.


The documentation for this class was generated from the following file: