A wrapper for error codes to allow intuitive bool-like usage.
More...
#include <error.h>
A wrapper for error codes to allow intuitive bool-like usage.
Definition at line 105 of file fabric/error.h.
eq::fabric::Error::Error |
( |
const uint32_t |
code | ) |
|
|
inlineexplicit |
uint32_t eq::fabric::Error::getCode |
( |
| ) |
const |
|
inline |
eq::fabric::Error::operator bool_t |
( |
| ) |
|
|
inline |
- Returns
- true if no error occured.
- Version
- 1.7.1
Definition at line 118 of file fabric/error.h.
eq::fabric::Error::operator uint32_t |
( |
| ) |
const |
|
inline |
bool eq::fabric::Error::operator! |
( |
| ) |
|
|
inline |
- Returns
- true if an error occured.
- Version
- 1.7.1
Definition at line 121 of file fabric/error.h.
- Returns
- true if the two errors have different values.
- Version
- 1.7.1
Definition at line 133 of file fabric/error.h.
- Returns
- true if the two errors have different values.
- Version
- 1.7.1
Definition at line 139 of file fabric/error.h.
Assign the given error code.
- Version
- 1.7.1
Definition at line 115 of file fabric/error.h.
bool eq::fabric::Error::operator== |
( |
const Error & |
rhs | ) |
const |
|
inline |
- Returns
- true if the two errors have the same value.
- Version
- 1.7.1
Definition at line 130 of file fabric/error.h.
bool eq::fabric::Error::operator== |
( |
const uint32_t |
code | ) |
const |
|
inline |
- Returns
- true if the two errors have the same value.
- Version
- 1.7.1
Definition at line 136 of file fabric/error.h.
The documentation for this class was generated from the following file: