chsvlib
chsv helper source code

◆ SystemErrorToChsvError()

chsverror_t Chusov::SystemErrorToChsvError ( chsv_syserror_t  err)

Delegates a call to a platform-dependent function which translates a system error to a corresponding chsvlib error code in a portable way.

Parameters
erris an error code defined in an error space of the target system and which is to be translated to chsvlib error code.
Returns
Returns a corresponding error code in chsvlib space.