Lightweight exception wrapper for MXNetwork failures.
More...
#include <MXNetwork/include/mxnetwork/exception.hpp>
|
| | Exception (const std::string &s) |
| | Construct an exception with a message.
|
| std::string | text () const |
| | Return the stored error text.
|
Lightweight exception wrapper for MXNetwork failures.
Definition at line 11 of file exception.hpp.
◆ Exception()
| mxnetwork::Exception::Exception |
( |
const std::string & | s | ) |
|
|
inline |
Construct an exception with a message.
- Parameters
-
Definition at line 17 of file exception.hpp.
◆ text()
| std::string mxnetwork::Exception::text |
( |
| ) |
const |
Return the stored error text.
- Returns
- Error text.
Definition at line 5 of file exception.cpp.
◆ txt
| std::string mxnetwork::Exception::txt |
|
protected |
The documentation for this class was generated from the following files: