Sponsoring The Perl Toolchain Summit 2025: Help make this important event another success Learn more

NAME

Pangloss::Category::Error - errors specific to Categories.

SYNOPSIS

throw Pangloss::Category::Error(flag => eExists, category => $category);
throw Pangloss::Category::Error(flag => eNonExistent, name => $name);
throw Pangloss::Category::Error(flag => eInvalid, category => $category,
invalid => {eNameRequired => 1});
# with caught errors:
print $e->category->name;

DESCRIPTION

Category Errors class. Inherits interface from Pangloss::StoredObject::Error. May contain a category object associated with the error.

METHODS

$e->category

set/get Pangloss::Category for this error.

AUTHOR

Steve Purkis <spurkis@quiup.com>

SEE ALSO

Error, Pangloss::StoredObject::Error, Pangloss::Category, Pangloss::Categories