====== hasErrors ====== {#JAPI Joomla.Framework Utilities JError::hasErrors #} Checks to see if any errors have been stored. ===== Syntax ===== array hasErrors () ===== Examples ===== JError::setErrorHandling( E_ALL, 'store' ); JError::raiseNotice( '253', 'THIS IS A TEST!' ); if (JERROR::hasErrors()) { echo "An error has occurred!"; } else { echo "The coast is clear!"; } might produce: An error has occurred!