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. .
[in] | err | is 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.