#include <exceptions.hpp>
|
| boost::optional< std::string > | reason |
| |
Definition at line 41 of file exceptions.hpp.
◆ SecurityException() [1/2]
| hw::trezor::exc::SecurityException::SecurityException |
( |
| ) |
|
|
inline |
Definition at line 46 of file exceptions.hpp.
46 :
reason(
"General Security exception"){}
boost::optional< std::string > reason
◆ SecurityException() [2/2]
| hw::trezor::exc::SecurityException::SecurityException |
( |
std::string |
what | ) |
|
|
inlineexplicit |
Definition at line 47 of file exceptions.hpp.
boost::optional< std::string > reason
virtual const char * what() const
◆ what()
| virtual const char* hw::trezor::exc::SecurityException::what |
( |
| ) |
const |
| throw | ( | |
| ) | | |
|
inlinevirtual |
Definition at line 49 of file exceptions.hpp.
50 return reason.get().c_str();
boost::optional< std::string > reason
◆ reason
| boost::optional<std::string> hw::trezor::exc::SecurityException::reason |
|
protected |
The documentation for this class was generated from the following file:
- /home/abuild/rpmbuild/BUILD/electroneum-5.0.0.4/src/device_trezor/trezor/exceptions.hpp