Skip to content

[Bug]: Error Handling in Data Loading #378

@Ankush0286

Description

@Ankush0286

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

When the Error Message Shows

The error messages will be displayed in the following scenario:

Error During Data Loading:

  • If the file exists but there is an issue when attempting to read the data (within the try block), the following scenarios might occur:
    • The file is in an unsupported format (e.g., it’s not a valid CSV).
    • The file is corrupted or malformed.
    • There are permission issues that prevent reading the file.

In this case, the error message will indicate that an error occurred while loading the data, providing more context such as: An error occurred while loading data: specific error message from the exception

Conclusion

This error handling mechanism ensures that users receive clear and informative feedback, allowing them to diagnose and rectify issues efficiently.

Add ScreenShots

Screenshot_error_handling_sj

What browsers are you seeing the problem on?

Chrome

Record

  • I agree to follow this project's Code of Conduct
  • I'm a GSSOC contributor
  • I want to work on this issue
  • I'm willing to provide further clarification or assistance if needed.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions