onError

open val onError: (e: Throwable, TParams) -> Unit? = null