From 0743b65159999b3e04da280f29a307ab2aeac20a Mon Sep 17 00:00:00 2001
From: M1nd3r <petrsedlacek.km@seznam.cz>
Date: Tue, 4 Feb 2025 15:19:56 +0100
Subject: [PATCH] feat(python): implement session based trezorlib

---
 python/src/trezorlib/exceptions.py | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/python/src/trezorlib/exceptions.py b/python/src/trezorlib/exceptions.py
index 0d0ab892ed..99f749063d 100644
--- a/python/src/trezorlib/exceptions.py
+++ b/python/src/trezorlib/exceptions.py
@@ -92,3 +92,7 @@ class FailedSessionResumption(TrezorException):
 
     Raised when `trezorctl -s <sesssion_id>` is used or `TREZOR_SESSION_ID = <session_id>`
     is set and resumption of session with the `session_id` fails."""
+
+
+class DeviceLockedException(TrezorException):
+    pass