Interchange6::Schema::Role::Errors
Returns an arrayref of errors. If there are no errors then the arrayref will be empty.
Clears all errors.
Returns the number of errors.
Returns an array of errors. If there are no errors then the array will be empty;
Returns 0 if no errors or a positive integer if there are errors (this is actually an alias for error_count).
Alias for has_error.
Takes a simple scalar as arg containing the text of the error to be added.
$self->add_error('Some error text')
Returns a string of the errors joined with :
To install Interchange6::Schema, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Interchange6::Schema
CPAN shell
perl -MCPAN -e shell install Interchange6::Schema
For more information on module installation, please visit the detailed CPAN module installation guide.