feat: add get and delete files

This commit is contained in:
firedotguy
2026-02-08 23:11:59 +03:00
parent c2413277d6
commit 9a4c47bd8e
5 changed files with 55 additions and 10 deletions

View File

@@ -37,6 +37,13 @@ class NotFound(Exception):
def __str__(self):
return f'{self.obj} not found'
class NotFoundOrForbidden(Exception):
def __init__(self, obj: str):
self.obj = obj
def __str__(self):
return f'{self.obj} not found or access denied'
class UserBanned(Exception):
def __str__(self):
return 'User banned'