Skip to content
Snippets Groups Projects

Master

Merged Tim Repke requested to merge master into production
2 files
+ 8
4
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 7
3
from fastapi import status as http_status
class UserPermissionError(Exception):
status = http_status.HTTP_403_FORBIDDEN
class DataNotFoundWarning(Warning):
status = http_status.HTTP_204_NO_CONTENT
class NoDataForKeyError(Exception):
pass
status = http_status.HTTP_410_GONE
class ItemNotFoundError(Exception):
pass
status = http_status.HTTP_404_NOT_FOUND
class ProjectNotFoundError(Exception):
status = 400
status = http_status.HTTP_400_BAD_REQUEST
class UserNotFoundError(Exception):
Loading