Pangloss::Term::Error - errors specific to Terms.
use Pangloss::Term::Error; use Pangloss::StoredObject::Error; throw Pangloss::Term::Error(flag => eExists, term => $term); throw Pangloss::Term::Error(flag => eNonExistent, name => $name); throw Pangloss::Term::Error(flag => eInvalid, term => $term, invalid => {eTermNameRequired => 1}); # with caught errors: print $e->term->name;
Term Errors class. Inherits interface from Pangloss::StoredObject::Error. May contain a term object associated with the error.
Validation errors: eStatusRequired eConceptRequired eLanguageRequired
set/get Pangloss::Term for this error.
Test if this error's flag is equal to the named flag.
Steve Purkis <spurkis@quiup.com>
Error, Pangloss::StoredObject::Error, Pangloss::Term, Pangloss::Terms
To install Pangloss, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pangloss
CPAN shell
perl -MCPAN -e shell install Pangloss
For more information on module installation, please visit the detailed CPAN module installation guide.