mirror of
https://github.com/wownero/wownero.git
synced 2026-10-30 21:08:38 +01:00
device_trezor: show error when operations are cancelled
This commit is contained in:
@@ -160,6 +160,8 @@ namespace proto {
|
|||||||
public:
|
public:
|
||||||
using FailureException::FailureException;
|
using FailureException::FailureException;
|
||||||
CancelledException(): FailureException("Trezor returned: cancelled operation"){}
|
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 {
|
class PinExpectedException : public FailureException {
|
||||||
|
|||||||
Reference in New Issue
Block a user