| Pangloss documentation | view source | Contained in the Pangloss distribution. |
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>
| Pangloss documentation | view source | Contained in the Pangloss distribution. |