-
Notifications
You must be signed in to change notification settings - Fork 125
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
Surface the source() fn in HandlerError #360
Conversation
Thanks @whitfin. Seems fine - but travis seems unhappy. |
@colinbankier the Travis unhappiness is due to #358 and the fact it has moved into beta :p |
I don't believe this fixes #359 Here's my minimal test:
To be run with: Using this patch the log shows:
Still shows I'm no expert on this code base or implementing
My stab at it would be:
Which appears to work correctly:
Unless my assumptions are wrong, and the intention of |
@fpgaminer you might be right, but then I'm a little confused what the point is to having both of those exist in the trait. What if Or should it be something along the lines of the following (written in a rush)?
|
My understanding is that So as a user I would expect for all implementations of |
Nudge, @fpgaminer and @whitfin - what's the status here? |
I think @fpgaminer is right - |
I believe this has been fixed in #438. |
This might fix #359.
Basically we just surface the
source()
function from theError
trait correctly, by delegating to the internal error.