onError

abstract fun onError(throwable: Throwable)

Called when an error occurs during the lock communication. E.g. when the lock requires a factory reset DeviceNeedsResetError will be thrown.

Parameters

throwable

The Throwable representing the error that occurred.