bool axl_error_was_ok ( axlError _error  ) 

Allows to check if the provided reference was used to report an error.

Those APIs that return an axlError reference filled with the textual error diagnostic, can take advantage of this function. It Allows to check if the error was used to report an error, instead of checking a returning value containing a particular error code.

See axl_error_new for more information.

Parameters:
_error The error that is being checked.
Returns:
true if the error reference doesn't contains an "ERROR" (an error wasn't reported), otherwise, false is returned.