Monero
Loading...
Searching...
No Matches
hw::trezor::exc::UnexpectedMessageException Class Reference

#include <transport.hpp>

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

Public Member Functions

 UnexpectedMessageException ()
 UnexpectedMessageException (hw::trezor::messages::MessageType recvType, const std::shared_ptr< google::protobuf::Message > &recvMsg)
 ProtocolException ()
Public Member Functions inherited from hw::trezor::exc::ProtocolException
 ProtocolException ()
 CommunicationException ()
Public Member Functions inherited from hw::trezor::exc::CommunicationException
 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 ()

Protected Attributes

hw::trezor::messages::MessageType recvType
std::shared_ptr< google::protobuf::Message > recvMsg
Protected Attributes inherited from hw::trezor::exc::TrezorException
boost::optional< std::string > reason

Constructor & Destructor Documentation

◆ UnexpectedMessageException() [1/2]

hw::trezor::exc::UnexpectedMessageException::UnexpectedMessageException ( )
inline

◆ UnexpectedMessageException() [2/2]

hw::trezor::exc::UnexpectedMessageException::UnexpectedMessageException ( hw::trezor::messages::MessageType recvType,
const std::shared_ptr< google::protobuf::Message > & recvMsg )
inline

Member Function Documentation

◆ ProtocolException()

Member Data Documentation

◆ recvMsg

std::shared_ptr<google::protobuf::Message> hw::trezor::exc::UnexpectedMessageException::recvMsg
protected

◆ recvType

hw::trezor::messages::MessageType hw::trezor::exc::UnexpectedMessageException::recvType
protected

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