Skip to content

Commit

Permalink
fix(py-sdk): removed wrong exception
Browse files Browse the repository at this point in the history
  • Loading branch information
fubuloubu committed Sep 25, 2024
1 parent 8513678 commit 7a7bd3c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sdk/py/apepay/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__(
Expand Down

0 comments on commit 7a7bd3c

Please sign in to comment.