| 1 |
# Copyright 2022-2024 Nitrokey Developers |
| 2 |
# |
| 3 |
# Licensed under the Apache License, Version 2.0, <LICENSE-APACHE or |
| 4 |
# http://apache.org/licenses/LICENSE-2.0> or the MIT license <LICENSE-MIT or |
| 5 |
# http://opensource.org/licenses/MIT>, at your option. This file may not be |
| 6 |
# copied, modified, or distributed except according to those terms. |
| 7 |
|
| 8 |
|
| 9 |
class TrussedException(Exception): |
| 10 |
pass |
| 11 |
|
| 12 |
|
| 13 |
class TimeoutException(TrussedException): |
| 14 |
def __init__(self) -> None: |
| 15 |
super().__init__("The user confirmation request timed out") |