Closed JackRyan1989 closed 3 years ago
The issue here is you are using handleError
and not handleSnackbarError
from the error handlers module.
This is definitely confusing setup however.
Really, handleSnackbarError
should be handleApiError
, and handleError
should be removed. This error mapping normalizer function only works when its passed a status code, so client/browser only errors using the snackbar should not use this this function. They can be handled on a case by case basis, in lieu of writing a client error handler mapper
Couple o' q's:
Thanks!