chsvlib
chsv helper source code

◆ make_error_condition()

std::error_condition Chusov::make_error_condition ( chsvlib_error  err)

Creates and returns a new std::error_condition based on a value of chsvlib_error enumeration type. .

Parameters
[in]erris a value of the specified integral error code of the chsvlib_error type.

The function is called internally by the standard system_error class using ADL to create error_condition objects.