onError

@EmptySuper
open fun onError(error: Throwable?)

This function is invoked when an error occurs during session creation. Implement this optional function if you need to handle session creation errors.

Shares the following types of exceptions: