A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.tutorialspoint.com/cpp_standard_library/cpp_exception_code.htm below:

C++ Exception Library - code

C++ Exception Library - code Previous Quiz Next Description

It is used to get error code.

Declaration

Following is the declaration for std::code.

const error_code& code() const noexcept;
C++11
const error_code& code() const noexcept;
Parameters

none

Return Value

It returns the error_code object associated with the exception.

Exceptions

No-throw guarantee − no members throw exceptions.

exception.htm

Print Page

Previous

Next

Advertisements


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4