onError

abstract fun onError(throwable: Throwable)

Called when an error occurs during navigation.

Parameters

throwable

The throwable representing the error.