Electroneum
Loading...
Searching...
No Matches
hw::trezor::exc::SecurityException Class Reference

#include <exceptions.hpp>

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

Public Member Functions

 SecurityException ()
 SecurityException (std::string what)
virtual const char * what () const throw ()

Protected Attributes

boost::optional< std::string > reason

Detailed Description

Definition at line 41 of file exceptions.hpp.

Constructor & Destructor Documentation

◆ 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.

47: reason(what){}
virtual const char * what() const
Here is the call graph for this function:

Member Function Documentation

◆ what()

virtual const char * hw::trezor::exc::SecurityException::what ( ) const
throw ( )
inlinevirtual

Definition at line 49 of file exceptions.hpp.

49 {
50 return reason.get().c_str();
51 }
Here is the caller graph for this function:

Member Data Documentation

◆ reason

boost::optional<std::string> hw::trezor::exc::SecurityException::reason
protected

Definition at line 43 of file exceptions.hpp.


The documentation for this class was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/electroneum-5.1.3.1-build/electroneum-5.1.3.1/src/device_trezor/trezor/exceptions.hpp