Status class.
More...
#include <Error.h>
Status class.
Definition at line 52 of file Error.h.
◆ Status() [1/4]
◆ Status() [2/4]
Default Constructor.
- Parameters
-
error_status | Error status. |
error_description | (Optional) Error description if error_status is not valid. |
Definition at line 65 of file Error.h.
◆ Status() [3/4]
Allow instances of this class to be copy constructed.
◆ Status() [4/4]
Allow instances of this class to be move constructed.
◆ error_code()
Gets error code.
- Returns
- Error code.
Definition at line 89 of file Error.h.
◆ error_description()
std::string error_description |
( |
| ) |
const |
|
inline |
◆ operator bool()
Explicit bool conversion operator.
- Returns
- True if there is no error else false
Definition at line 81 of file Error.h.
References arm_compute::OK.
◆ operator=() [1/2]
Allow instances of this class to be copy assigned.
◆ operator=() [2/2]
Allow instances of this class to be move assigned.
◆ throw_if_error()
void throw_if_error |
( |
| ) |
const |
|
inline |
Throws a runtime exception in case it contains a valid error status.
Definition at line 102 of file Error.h.
106 internal_throw_on_error();
The documentation for this class was generated from the following files: