fix: add BannedAccount error
This commit is contained in:
@@ -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'
|
||||
Reference in New Issue
Block a user