error.py 197 B

1234567
  1. from libs.exception import BaseHTTPException
  2. class UnsupportedFileTypeError(BaseHTTPException):
  3. error_code = "unsupported_file_type"
  4. description = "File type not allowed."
  5. code = 415