std::system_error::code

From cppreference.com
 
 
 
 
 
const std::error_code& code() const;
(since C++11)

Returns the stored error code.

Contents

[edit] Parameters

(none)

[edit] Return value

The stored error code.

[edit] Exceptions

noexcept specification:  
noexcept
  (since C++11)

[edit] See also

[virtual]
returns explanatory string
(virtual public member function)