onError

open fun onError(session: S, cause: Throwable)