-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Add new mapping exception type for enums and UUIDs (and maybe in future for subtypes) #1000
Comments
Congratulations on issue #1000 by the way :). |
That is possible, yes, and sounds like a potentially good idea. I'll have to check what exact type to use, and try to make sure all codepaths produce the same thing. Sub-type should probably be And yes, congratulations -- you just won a FREE copy of the Jackson library! Downloadable via central Maven repository. |
I'm fine with that. UUID failure on the other hand, has a cause field that is If you decide which way to go, I might be able to send a PR. |
Ah actually you are right: As to |
Edited title a bit since I think I will first tackle |
👍 |
Improved |
Ah, great! Thank you!. I'll create the issue now for the sake of backlog. |
Extension request to #32.
I'm using dropwizard and I'd like to be able to return more friendly messages to the user when they enter wrong String for enum (which I also use for subtypes) and format for UUIDs. Could we add new exception(s) for these cases? Or use
InvalidFormatExcetion
for all or some of them?The text was updated successfully, but these errors were encountered: