semvec/pypi-packages huggingface dataset:
privError 0.0.2
Errors - Errors a file of centralized handle Error.
License: MIT
Keywords: privError

Errors - Errors a file of centralized handle Error.
Using error file we return appropriate message/status of request by POST,GET,PUT and DELETE.

 Listed the maximum occurring exceptions here that you want to handle specifically.
 If other kind of exceptions occur that will be  mapped to InternalServerError.

 It contains
    - a dictionary of custom + general exceptions named "error".
    - a method named "process_exception" that returns tuple of exception name and message if present otherwise args.
    - a method named "handle_error" that returns back the actual error caused and the error status code .


Change Log
============

0.0.1(02-09-2021)
-----------------
- First Release