mease_elabftw.util.handle_http_error
- mease_elabftw.util.handle_http_error(http_error, experiment_id=None)
Unified error handling, for http and wrong id errors.
- Parameters
http_error (HTTPError) – Error object.
experiment_id (int, optional) – The experiment number given by the user for which an error was raised. , defaults to None