-
Notifications
You must be signed in to change notification settings - Fork 41
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
No Error Explanation in User-Defined Pack & Unpack #21
Comments
"Failed to invoke 'toMsgpack' on type 'Dir'" shows Dir's Hmm, do you have a suggestion? |
The problem is your use of You overuse them in the error handling in msgpack.d. For example
should be replaced with
Do you want me to fix and provide and pull request or do you want to do it yourself? |
I did suggest this sort of thing before: #2 (comment) |
I don't understand...how can something be more important than having the possibility to know what error I have done in my pack or unpack function? |
Classes with errorneous user-defined msgpacking, such as
makes the compiler error without any usable explanations:
The text was updated successfully, but these errors were encountered: