Wixel/GUMP — pull request #55 by u12206050 (2014-10-22 14:46:46+00:00)
Title: Added new method get_errors_array() to return the errors as key value pa...

...irs.

By calling get_errors_array() it returns an array which could be access as follows:

$errors = $gump->get_errors_array();
echo $errors['username'];
echo $errors['password'];

Obviously this limits the errors per field to one single error at a time.