mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2026-02-08 03:01:24 +00:00
16 lines
301 B
Python
16 lines
301 B
Python
from typing_extensions import override
|
|
|
|
|
|
class ApprovalException(Exception):
|
|
def __init__(self, value: str) -> None:
|
|
super().__init__(self)
|
|
self.value = value
|
|
|
|
@override
|
|
def __str__(self) -> str:
|
|
return self.value
|
|
|
|
|
|
class FrameNotFound(ApprovalException):
|
|
pass
|