fun onError(device: NIMMSTADevice?, throwable: Throwable): Boolean
Gets called if the scanner returns an error