Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Support Runtime Message(s) #110

Open
asksage opened this issue Jul 16, 2020 · 0 comments
Open

Support Runtime Message(s) #110

asksage opened this issue Jul 16, 2020 · 0 comments

Comments

@asksage
Copy link

asksage commented Jul 16, 2020

Ideally, there should be a way to dynamically pass message instead of always getting from MessageSource.

It should be pretty easy to implement e.g. HandledException can add a constructor where it takes in message instead of arguments. And that message can be set dynamically using WebErrorHandler.

inside withMessage (if I am not mistaken) in WebErrorHandlers if the message is present in HandledException then use that other wise get from messageSource.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant