fitbenchmarking.cli.exception_handler module¶
This file holds an exception handler decorator that should wrap all cli functions to provide cleaner output.
-
fitbenchmarking.cli.exception_handler.
exception_handler
(f)¶ Decorator to simplify handling exceptions within FitBenchmarking This will strip off any ‘debug’ inputs.
Parameters: f (python function) – The function to wrap