fun onError(device: NIMMSTADevice?, throwable: Throwable): Boolean
Get's called if the scanner throws an error