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

Error message helper #883

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

deepsidhu85
Copy link
Contributor

@deepsidhu85 deepsidhu85 commented Jan 7, 2025

What does this PR do and why?

Describe in detail what your merge request does and why.

This PR adds in an error_message helper method to the application_controller that can be used across the back-end and front-end for retrieving an object's error message from the attached errors array.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other pull requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. Ensure the tests pass
  2. Try out the different actions which were updated to use this new error_message method and verify the thrown error messages are displayed as expected

PR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

… front end for retrieving an object's error message from the attached errors array

This comment has been minimized.

@deepsidhu85 deepsidhu85 marked this pull request as ready for review January 8, 2025 21:08
@deepsidhu85 deepsidhu85 self-assigned this Jan 8, 2025
@deepsidhu85 deepsidhu85 requested a review from ericenns January 8, 2025 21:35
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