feat: add repair timeline read APIs
This commit is contained in:
1 parent
f6a2512e23
commit
36a0caecd8
16 files changed
+1562
-9
No files matched your search
@@ -13,6 +13,14 @@ class RepairMinerNotFound(RepairError):
|
||||
super().__init__(f"Miner not found: {miner_id}")
|
||||
|
||||
|
||||
class RepairNotFound(RepairError):
|
||||
"""Raised when the requested repair does not exist."""
|
||||
|
||||
def __init__(self, repair_id: object):
|
||||
self.repair_id = repair_id
|
||||
super().__init__(f"Repair not found: {repair_id}")
|
||||
|
||||
|
||||
class RepairConflict(RepairError):
|
||||
"""Base exception for a conflicting repair state."""
|
||||
|
||||
|
||||
Reference in new issue
Block a user