Whether or not there was an error. true is returned if lastError is not equal to the default value.
true
bool get hasError;