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

Expose DynamicProxy exception messages when fake creation fails #178

Closed
blairconrad opened this issue Oct 13, 2013 · 0 comments · Fixed by #180
Closed

Expose DynamicProxy exception messages when fake creation fails #178

blairconrad opened this issue Oct 13, 2013 · 0 comments · Fixed by #180
Assignees
Milestone

Comments

@blairconrad
Copy link
Member

Spun off from #157, whose fix will make use of this enhancement. Read it for probably more history than you want.

FakeItEasy goes to a fair amount of trouble to help provide useful error messages to users. Mostly this works. Sometimes, we end up losing information that comes from DynamicProxy that would help the users. Let's not do that. In additions to the "faking internal interfaces" issue, this would help with such errors as "provided constructor arguments are no good". It also opens the door to helping improve other bad error messages, possibly while improving DynamicProxy at the same time.

@ghost ghost assigned blairconrad Oct 13, 2013
dennisdoomen added a commit to fluentassertions/fluentassertions that referenced this issue Oct 26, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant