v3 flag enabled
Error-handling Programming System C++11
Added in 1.35.0

Boost.System

Extensible error reporting.

Contributors: This Release


Documentation

Boost.System

The Boost.System library, part of Boost C++ Libraries, implements an extensible framework for error reporting in the form of an error_code class and supporting facilities.

It has been proposed for the C++11 standard, has been accepted, and is now available as part of the standard library in the <system_error> header. However, the Boost implementation has continued to evolve and gain enhancements and additional functionality, such as support for attaching source locations to error_code, and a result<T> class that can carry either a value or an error code.

See the documentation of System for more information.

Since <system_error> is a relatively undocumented portion of the C++ standard library, the documentation of Boost.System may be useful to you even if you use the standard components.

License

Distributed under the Boost Software License, Version 1.0.

Latest Boost.System posts

Join the Boost Developers Mailing List

Get the latest on releases, features, security patches, fixes and all major announcements.

All Contributors