ExceptionHandler
Class to handle exceptions and return a formatted object to the front
Functions
generate_instance_id @classmethod
Return type :
str handle_exception @classmethod
request :
starlette.requests.Request | None exception :
Exception Return type :
ExceptionResponse handle_request_validation_error @classmethod
Handle a RequestValidationError exception (error 422 Unprocessable Entity) It returns only the first message
exc :
RequestValidationError