Device interface library for multiple platforms including Mbed.

Dependents:   DeepCover Embedded Security in IoT MaximInterface MAXREFDES155#

Embed: (wiki syntax)

« Back to documentation index

error_code Class Reference

error_code Class Reference

Holds a raw error code produced by a subsystem. More...

#include <system_error.hpp>


Detailed Description

Holds a raw error code produced by a subsystem.

An error_code is composed of a pair of values: a category of errors, usually one per subsystem, and a number representing a specific error value within that category. While not required, zero is typically used as the success value so that the boolean conversion can be used as a failure test.

Definition at line 165 of file system_error.hpp.