Skip to content

Issue Title: Improve Error Messaging for API Failures #4

Description

@BHAVISHYA2005

When the logo generation API fails due to server issues or incorrect user input, the feedback to the user is not clear. Currently, users see a generic error message, which doesn't help in understanding the problem or how to resolve it.

Steps to Reproduce:
-Attempt to generate a logo with an invalid industry type or when the server is under maintenance.
-Observe the error message displayed to the user.

Current Behavior:
-A generic "Something went wrong" message appears, which isn't helpful for debugging or user guidance.

Suggestions for Improvement:
-Implement specific error messages for different types of API errors:
-For invalid input, provide a list of valid inputs.
-For server issues, offer a retry option with a timeout suggestion.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions