InboxListenerSetters.onError(handler: InboxErrorHandler<TContextData>): InboxListenerSetters<TContextData>
Registers an error handler for inbox listeners. Any exceptions thrown from the listeners are caught and passed to this handler.
handler: InboxErrorHandler<TContextData>
A callback to handle an error.
InboxListenerSetters<TContextData>
The setters object so that settings can be chained.