r3c / cottle

Fast, light & extensible template engine for C#

Home Page:https://r3c.github.io/cottle/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Obscure exceptions when `Value.FromReflection` fails

paviad opened this issue · comments

If you provide a context member in the form of Value.FromReflection(obj) and the object contains properties that are incompatible, you get a very obscure exception that hides the real problem point.

I would expect the exception to pinpoint the property that is problematic.

Merged & released in v2.0.10, thanks a lot for your contribution! 🙂