onLoadError

open fun onLoadError(error: Throwable)

The component executes this callback function when a load failure occurs.

Parameters

error

The error that occurred. This will be an EmbeddedComponentError which provides access to the error EmbeddedComponentError.type and EmbeddedComponentError.message.