Skip to content

Comments

feat: intercept error to display 'em in the UI#7

Merged
bra-i-am merged 3 commits intomainfrom
bc/fix-errors-displaying
Feb 13, 2026
Merged

feat: intercept error to display 'em in the UI#7
bra-i-am merged 3 commits intomainfrom
bc/fix-errors-displaying

Conversation

@bra-i-am
Copy link
Collaborator

This PR adds an interceptor to the httpClient to capture the errors that came from the v1/accounts/ API endpoint, aiming to display them in the UI properly and execute some actions in consequence

How to test

  • Have a NAU environment mounted with nau-tutor-configs to make use of the validations (in this case NifValidator)
  • Use this branch to use the interceptor
  • Add a mistake in the NIF field
  • You'll be able to watch the error, and the field shouldn't be properly saved

Screencast

Screencast.from.13-02-26.11.37.49.webm

@bra-i-am bra-i-am force-pushed the bc/fix-errors-displaying branch from 9b57019 to 76e4a1a Compare February 13, 2026 16:45
@bra-i-am bra-i-am force-pushed the bc/fix-errors-displaying branch from a8af4e7 to da436a3 Compare February 13, 2026 16:52
@bra-i-am bra-i-am merged commit 4842779 into main Feb 13, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant