std::system_error::code

Returns the stored error code.

# Declarations

const std::error_code& code() const noexcept;

(since C++11)

# Return value

The stored error code.

# See also