Skip to content

Centralized error handling #411

Closed

Description

@mmabrouk

Right now there is no centralized error handling mechanism in the app. Moreover, throughout the app, there are different error handling strategies in play.

The goal is to define and implement error handling strategies for:

  • UI/Rendering Errors (React Components)
  • API errors
  • Thunk errors (when Redux is implemented)

Tasks:

  • Error boundary component for each route in the app
  • Create a global error handler to generically handle non UI exceptions
  • Error handler interceptor in axios config (also, make sure only axios is being used for api calls)
  • Error handler middleware to be used with redux store to catch exceptions in thunks

Activity

  1. added
    refactorA code change that neither fixes a bug nor adds a feature
    on Aug 19, 2023
  2. added a commit that references this issue on Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

frontendrefactorA code change that neither fixes a bug nor adds a feature

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions