Glenn Pratt
Glenn Pratt
Also, v1 documentation still exists: http://docs.aws.amazon.com/AWSRubySDK/latest/AWS/SimpleWorkflow.html
I wrote this little script to look for any obvious threading issues. https://gist.github.com/glennpratt/bf254a896c9b0f15b812 No errors on 2.1.6 and JRuby.
This needs work, have issues with shared `@errors` instance var in testing.
OK, pushed a commit that should fix that issue. Need more tests around that apparently.
Note: This PR is sparse to help decide if this is a good direction to move it. If it is, I'll update usage, documentation and tests. So, do people think...
Fixed the notice, tests pass now. I had error_reporting set to default on my machine, which is why they passed for me, might want to set that in bootstrap.
A real life use case can be seen in Drupal 6, which I was implementing this in. The $context is used to determine if there was an error in a...
`ErrorException` has a sixth argument which is the previous Exception. I thought about passing it NULL then adding a seventh, but that seems messy.
I do see the usage is limited, but I think it's a fairly minimal burden to allow the callback to wire up to any error handler previously registered to set_error_handler....
Regarding the Exceptions names, I was saying if you want a short name for users to catch, you could do that with an interface and have everything else follow class...