Skip to content

Search topics & cppreference

Search all study topics, concept maps, and 6,587 C++ and C reference pages.

std::error_code::default_error_condition

Returns the default error condition for the current error value.

NotebookLM
std::error_condition default_error_condition() const noexcept;
(since C++11)

Returns the default error condition for the current error value.

Equivalent to category().default_error_condition(value()).

Parameters

(none)

Return value

The default error condition for the current error value.

Content from this page on cppreference.com, licensed under CC-BY-SA 3.0 and GFDL. Modified: restyled, site navigation removed, code windows added. Offline snapshot of 9 February 2025.