
Pangloss::User::Error - errors specific to Users.

use Pangloss::User::Error;
use Pangloss::StoredObject::Error;
throw Pangloss::User::Error(flag => eExists, user => $user_object);
throw Pangloss::User::Error(flag => eNonExistent, userid => $userid);
throw Pangloss::User::Error(flag => eInvalid, user => $user,
invalid => {eIdRequired => 1});
# with caught errors:
print $e->user->id;

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

Validation errors: eIdRequired

set/get Pangloss::User 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::User, Pangloss::Users