mirror of
https://github.com/wownero/wownero.git
synced 2026-10-17 07:31:35 +02:00
Merge pull request #11122
617cb6a device_trezor: show error when operations are cancelled (jpk68)
ACKs: selsta, SNeedlewoods
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