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