Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Handle mosque not found error in API and update mosque manager #1162

Merged
merged 3 commits into from
Jul 11, 2024

Commits on May 29, 2024

  1. feat: Handle mosque not found error in API and update mosque manager

    - Added `MosqueFailure` and `MosqueNotFoundFailure` classes to handle specific mosque-related errors.
    - Updated `Api.dart` to catch Dio 404 errors and throw `MosqueNotFoundFailure`.
    - Modified `mosque_manager.dart` to handle `MosqueFailure` errors specifically and update state accordingly.
    YassinNouh21 committed May 29, 2024
    Configuration menu
    Copy the full SHA
    39be421 View commit details
    Browse the repository at this point in the history
  2. reformat

    YassinNouh21 committed May 29, 2024
    Configuration menu
    Copy the full SHA
    f192403 View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2024

  1. Configuration menu
    Copy the full SHA
    3df79fe View commit details
    Browse the repository at this point in the history