#include <exceptions.hpp>
|
| boost::optional< std::string > | reason |
| |
Definition at line 60 of file exceptions.hpp.
◆ TrezorException() [1/2]
| hw::trezor::exc::TrezorException::TrezorException |
( |
| ) |
|
|
inline |
Definition at line 65 of file exceptions.hpp.
65 :
reason(
"General Trezor exception"){}
boost::optional< std::string > reason
◆ TrezorException() [2/2]
| hw::trezor::exc::TrezorException::TrezorException |
( |
std::string |
what | ) |
|
|
inlineexplicit |
Definition at line 66 of file exceptions.hpp.
boost::optional< std::string > reason
virtual const char * what() const
◆ what()
| virtual const char* hw::trezor::exc::TrezorException::what |
( |
| ) |
const |
| throw | ( | |
| ) | | |
|
inlinevirtual |
Definition at line 68 of file exceptions.hpp.
69 return reason.get().c_str();
boost::optional< std::string > reason
◆ reason
| boost::optional<std::string> hw::trezor::exc::TrezorException::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