Determines if this response represents an error.
bool isError() => (errorCode != null) && (errorDetail != null);