Error array returns associative array of error information.