Skip to content

feat: error notification

Fabio M requested to merge feat/error-notification into main

The goal is to have a consistent way to show errors, without any additional effort, and consistently.

What I want to achieve is:

  • create an entry in the state of the website (notifications)
  • upon API error, have a function that parses it, and pushes it to the state

This doesn't work (it simply never calls the notifications/handleAxiosError function`. Is this the right way to do it?

Merge request reports