fix: add BannedAccount error

This commit is contained in:
firedotguy
2026-02-12 18:25:25 +03:00
parent 7cc343dab5
commit c1042d32ae
4 changed files with 12 additions and 5 deletions

View File

@@ -113,4 +113,8 @@ class NoContent(Exception):
class AlreadyFollowing(Exception):
def __str__(self) -> str:
return 'Already following user'
return 'Already following user'
class AccountBanned(Exception):
def __str__(self) -> str:
return 'Account has been deactivated'