dconv 2.0
C++14 library for printing and parsing floating point numbers
Loading...
Searching...
No Matches
dconv::ErrorCategory Class Reference

conversion error category. More...

#include <error.hpp>

Inheritance diagram for dconv::ErrorCategory:
Collaboration diagram for dconv::ErrorCategory:

Public Member Functions

const char * name () const noexcept override
 get conversion error category name.
 
std::string message (int code) const override
 translate conversion error code to human readable error string.
 

Detailed Description

conversion error category.

Member Function Documentation

◆ message()

std::string dconv::ErrorCategory::message ( int code) const
inlineoverride

translate conversion error code to human readable error string.

Parameters
codeerror code.
Returns
human readable error string.

◆ name()

const char * dconv::ErrorCategory::name ( ) const
inlineoverridenoexcept

get conversion error category name.

Returns
conversion error category name.

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