From cppreference.com
intvalue()constnoexcept;(since C++11)Returns the platform dependent error code value.
Return value
The platform-dependent error code value.
Example
See also
obtains the error_category for this error_code
(public member function)