From 7a7bd3c4ebade647604fb498f6002955b4fcbdbe Mon Sep 17 00:00:00 2001 From: fubuloubu <3859395+fubuloubu@users.noreply.github.com> Date: Wed, 25 Sep 2024 00:04:01 -0400 Subject: [PATCH] fix(py-sdk): removed wrong exception --- sdk/py/apepay/exceptions.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sdk/py/apepay/exceptions.py b/sdk/py/apepay/exceptions.py index dc4eea9..0ffeb21 100644 --- a/sdk/py/apepay/exceptions.py +++ b/sdk/py/apepay/exceptions.py @@ -28,6 +28,11 @@ def __init__(self, token_details: str): super().__init__(f"Token '{token_details}' not accepted.") +class FundsNotClaimable(ApePayException): + def __init__(self): + super().__init__("Stream has no funds left to claim.") + + class StreamLifeInsufficient(ApePayException, ValueError): def __init__(self, stream_life: timedelta, min_stream_life: timedelta): super().__init__(