There's an undocumented(?) event handler named all_events but I'd also like to have a catch-all for unhandled events called unhandled_event or something so handlers can be registered at reactor level directly where they exist and others fall through to a catch-all.
I'm now at a point I either need to refactor my project completely to use a custom event handler based on all_events or get an upstream solution as there's too many non-standard reply codes to catch all of them manually.
There's an undocumented(?) event handler named
all_events
but I'd also like to have a catch-all for unhandled events calledunhandled_event
or something so handlers can be registered at reactor level directly where they exist and others fall through to a catch-all.I'm now at a point I either need to refactor my project completely to use a custom event handler based on
all_events
or get an upstream solution as there's too many non-standard reply codes to catch all of them manually.Would this be doable?
Thanks.