Description:
The current error handling is basic and could be improved to provide more informative feedback to the user. This issue proposes a refactoring of the error handling and exception logging throughout the codebase.
Tasks:
Implement custom exception classes for different types of errors (e.g., ModelNotFoundError, DatasetNotFoundError).
Add more specific try-except blocks to catch and handle exceptions gracefully.
Integrate a logging library (e.g., logging) to provide detailed information about errors and exceptions.
Update the documentation with a guide on how to debug common errors.
Description:
The current error handling is basic and could be improved to provide more informative feedback to the user. This issue proposes a refactoring of the error handling and exception logging throughout the codebase.
Tasks:
Implement custom exception classes for different types of errors (e.g., ModelNotFoundError, DatasetNotFoundError).
Add more specific try-except blocks to catch and handle exceptions gracefully.
Integrate a logging library (e.g., logging) to provide detailed information about errors and exceptions.
Update the documentation with a guide on how to debug common errors.