#include <exceptions.hpp>
|
| boost::optional< std::string > | reason |
| |
Definition at line 131 of file exceptions.hpp.
◆ FailureException() [1/2]
| hw::trezor::exc::proto::FailureException::FailureException |
( |
| ) |
|
|
inline |
◆ FailureException() [2/2]
| hw::trezor::exc::proto::FailureException::FailureException |
( |
boost::optional< uint32_t > |
code, |
|
|
boost::optional< std::string > |
message |
|
) |
| |
|
inline |
Definition at line 138 of file exceptions.hpp.
140 : code(code), message(message) {
141 reason =
"Trezor returned failure: code="
143 +
", message=" + (message ? message.
get() :
"");
boost::optional< std::string > reason
void get(std::istream &input, bool &res)
std::string to_string(t_connection_type type)
◆ ProtocolException()
| hw::trezor::exc::ProtocolException::ProtocolException |
|
inline |
The documentation for this class was generated from the following file:
- /home/abuild/rpmbuild/BUILD/electroneum-4.0.0.0/src/device_trezor/trezor/exceptions.hpp