async-interop / event-loop

An event loop interface for interoperability in PHP.
MIT License
169 stars 9 forks source link

Specify how error handler works #95

Closed kelunik closed 8 years ago

kelunik commented 8 years ago

Currently, there's nothing that describes when the error handler is invoked and when the error couldn't be handled by the error handler. My guess is that the error handler should rethrow if it can't handle the exception and otherwise do nothing. Return value doesn't matter.

bwoebi commented 8 years ago

Feel free to PR this, I'd like to read the actual wording on that.

kelunik commented 8 years ago

Please read the PR and comment. I'm not that happy with the current wording, maybe someone has improvements.

bwoebi commented 8 years ago

Closed as per #110 being merged.