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

Use static::class in this cases, so the message is more correct. #9

Closed
ndobromirov opened this issue Jul 17, 2018 · 3 comments
Closed

Comments

@ndobromirov
Copy link
Contributor

Once the exception is triggered, it's very confusing, as it points to some base class that has the behavior and not the actual class that does not comply to it's schema...

Maybe add more meta-data for debugging, like the validation errors for example.

@e0ipso
Copy link
Owner

e0ipso commented Jul 20, 2018

That's a good point. Would you be sending a PR for this?

@ndobromirov
Copy link
Contributor Author

I could in the next week or so.

@e0ipso
Copy link
Owner

e0ipso commented Jul 26, 2018

This was fixed.

@e0ipso e0ipso closed this as completed Jul 26, 2018
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

2 participants