protected fun Throwable.toHandlerError(context: UnpackedMessageContext): Single<MessageHandlerResponse>
A helper function for converting a throwable that might occur during handling to a MessageHandlerException, returned as a Single.