martin-olivier / dylib

C++ cross-platform wrapper around dynamic loading of shared libraries (dll, so, dylib)

Home Page:https://conan.io/center/recipes/dylib

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use std::system_error

eyalroz opened this issue · comments

C++ has had, for the last 10 years, a standard, cross-platform mechanism for representing system errors: <system_error>. I believe you should use it instead of your own custom exceptions.

See also:

<system_error> categories and standard/system error codes

on StackOverflow.

Also referenced in #32
I will close this issue