mirror of
https://github.com/rommapp/romm.git
synced 2026-11-28 17:48:31 +01:00
8 lines
254 B
Python
8 lines
254 B
Python
class TaskNotFoundException(Exception):
|
|
def __init__(self, name: str) -> None:
|
|
self.message = f"No task is registered under the name '{name}'"
|
|
super().__init__(self.message)
|
|
|
|
def __repr__(self) -> str:
|
|
return self.message
|