NAME

Pangloss::Concept::Error - errors specific to Concepts.

SYNOPSIS

use Pangloss::Concept::Error;
use Pangloss::StoredObject::Error;

throw Pangloss::Concept::Error(flag => eExists, concept => $concept);
throw Pangloss::Concept::Error(flag => eNonExistent, name => $name);
throw Pangloss::Concept::Error(flag => eInvalid, concept => $concept,
                            invalid => {eNameRequired => 1});

# with caught errors:
print $e->concept->name;

DESCRIPTION

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

METHODS

$e->concept

set/get Pangloss::Concept for this error.

AUTHOR

Steve Purkis <spurkis@quiup.com>

SEE ALSO

Pangloss::Error, Pangloss::Concept, Pangloss::Concepts