UseCaseErrorHandler

object UseCaseErrorHandler

This object is used for global handling and logging of errors that are thrown in the use case execution.

Properties

Link copied to clipboard
var globalOnErrorLogger: (Throwable) -> Unit

Lambda expression that is invoked every time when an error is propagated to the subscriber. It should be used for the global logging of error events of use cases.