errorHandler

open fun errorHandler(exception: Throwable, oldValue: T): T

Default error handler printing the error to console and keeping the previous value.

Parameters

exception

Exception to handle

oldValue

previous value of the Store