std::error_code:: value

From cppreference.com
Utilities library
General utilities
Relational operators (deprecated in C++20)
int value ( ) const noexcept ;
(since C++11)

Returns the platform dependent error code value.

Parameters

(none)

Return value

The platform-dependent error code value.

See also

obtains the error_category for this error_code
(public member function)