Skip to content

Refactor: Improve Error Handling and Exception Logging #2

Description

@YanCotta

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.

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions