mirror of
https://github.com/wownero/wownero.git
synced 2026-10-17 15:41:44 +02:00
device_trezor: show error when operations are cancelled
This commit is contained in:
@@ -160,6 +160,8 @@ namespace proto {
|
||||
public:
|
||||
using FailureException::FailureException;
|
||||
CancelledException(): FailureException("Trezor returned: cancelled operation"){}
|
||||
CancelledException(boost::optional<uint32_t> code, boost::optional<std::string> message)
|
||||
: FailureException(code, message) { reason = "Trezor returned: cancelled operation"; }
|
||||
};
|
||||
|
||||
class PinExpectedException : public FailureException {
|
||||
|
||||
Reference in New Issue
Block a user