NAME
Interchange6::Schema::Role::Errors
errors
Returns an arrayref of errors. If there are no errors then the arrayref will be empty.
clear_errors
Clears all errors.
error_count
Returns the number of errors.
errors_array
Returns an array of errors. If there are no errors then the array will be empty;
has_error
Returns 0 if no errors or a positive integer if there are errors (this is actually an alias for error_count).
has_errors
Alias for has_error.
add_error
Takes a simple scalar as arg containing the text of the error to be added.
$self->add_error('Some error text')
errors_string
Returns a string of the errors joined with :