Electroneum
hw::trezor::exc::CommunicationException Class Reference

#include <exceptions.hpp>

Inheritance diagram for hw::trezor::exc::CommunicationException:
Collaboration diagram for hw::trezor::exc::CommunicationException:

Public Member Functions

 CommunicationException ()
 
 TrezorException ()
 
 TrezorException (std::string what)
 
- Public Member Functions inherited from hw::trezor::exc::TrezorException
 TrezorException ()
 
 TrezorException (std::string what)
 
virtual const char * what () const throw ()
 

Additional Inherited Members

- Protected Attributes inherited from hw::trezor::exc::TrezorException
boost::optional< std::string > reason
 

Detailed Description

Definition at line 73 of file exceptions.hpp.

Constructor & Destructor Documentation

◆ CommunicationException()

hw::trezor::exc::CommunicationException::CommunicationException ( )
inline

Definition at line 76 of file exceptions.hpp.

76 : TrezorException("Trezor communication error"){}

Member Function Documentation

◆ 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
Definition: exceptions.hpp:62

◆ TrezorException() [2/2]

hw::trezor::exc::TrezorException::TrezorException
inlineexplicit

Definition at line 66 of file exceptions.hpp.

66 : reason(what){}
boost::optional< std::string > reason
Definition: exceptions.hpp:62
virtual const char * what() const
Definition: exceptions.hpp:68

The documentation for this class was generated from the following file: