Pangloss::Language::Error - errors specific to Languages.
use Pangloss::Language::Error; use Pangloss::StoredObject::Error; throw Pangloss::Language::Error(flag => eExists, language => $language); throw Pangloss::Language::Error(flag => eNonExistent, iso_code => $iso_code); throw Pangloss::Language::Error(flag => eInvalid, language => $language, invalid => {eIsoCodeRequired => 1}); # with caught errors: print $e->language->iso_code;
Language Errors class. Inherits interface from Pangloss::StoredObject::Error. May contain a language object associated with the error.
Validation errors: eIsoCodeRequired eDirectionRequired
set/get Pangloss::Language for this error.
Test if this error's flag is equal to the named flag.
Steve Purkis <spurkis@quiup.com>
Pangloss::Error, Pangloss::Language, Pangloss::Languages
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.