Zakero's C++ Header Libraries
A collection of reusable C++ libraries
Public Member Functions | List of all members
zakero::messagepack::ErrorCategory_ Class Reference

MessagePack Error Categories.

Inherits std::error_category.

Public Member Functions

constexpr ErrorCategory_ () noexcept
 Constructor.
 
std::string message (int condition) const noexcept final override
 A description message. More...
 
const char * name () const noexcept final override
 The name of the error category. More...
 

Member Function Documentation

◆ message()

std::string zakero::messagepack::ErrorCategory_::message ( int  condition) const
finaloverridenoexcept
Returns
The message.
Parameters
conditionThe error code.

◆ name()

const char * zakero::messagepack::ErrorCategory_::name ( ) const
finaloverridenoexcept
Returns
A C-Style string.

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