NAME
Interchange6::Role::Errors - errors role
METHODS
error
Alias for get_error.
errors => 'all',
Returns errors as array.
has_error => 'count',
Alias for has_errors.
has_errors => 'count',
Actually returns the error count so 0 for no errors and 1+ if there are errors.
clear_error => 'clear',
Alias for clear_errors.
clear_errors => 'clear',
Clears all errors.
set_error => 'push',
Adds add error.
get_error
Returns all errors as a scalar joined with ':'.