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

Add support for raw error type #48

Open
repli2dev opened this issue Mar 4, 2024 · 2 comments
Open

Add support for raw error type #48

repli2dev opened this issue Mar 4, 2024 · 2 comments

Comments

@repli2dev
Copy link
Contributor

Add raw error type into MappingFailedException so it on error mapping (to API or display to form) it can be localized. For now it matches names of the named constructors in MappingFailedException.

@repli2dev
Copy link
Contributor Author

Simple idea here is pass the __METHOD__ from the named constructors inside instances. Alternatively to use enum if that would be seen as a better option.

@repli2dev
Copy link
Contributor Author

... I can also prepare PL for this yet here it needs more discussion about the how before I start.

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

No branches or pull requests

1 participant