Merge pull request #11122

617cb6a device_trezor: show error when operations are cancelled (jpk68)

ACKs: selsta, SNeedlewoods
This commit is contained in:
tobtoht
2026-09-09 19:57:30 +00:00
+2
View File
@@ -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 {