Namespaces
Variants
Actions

std::system_error::code

From cppreference.com
< cpp‎ | error‎ | system error
 
C++
 
Utilities library
General utilities
Relational operators (deprecated in C++20)
 
Diagnostics library
 
std::system_error
const std::error_code& code() const noexcept;
(since C++11)

Returns the stored error code.

[edit] Parameters

(none)

[edit] Return value

The stored error code.

[edit] See also

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

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant