Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ##################
- # Error management
- has 'errors' => (
- traits => ['Hash'],
- is => 'bare',
- isa => 'HashRef',
- default => sub { {} },
- handles => {
- add_error => 'set',
- error_for => 'get',
- has_errors => 'count',
- errors => 'kv',
- clear_errors => 'clear',
- },
- );
Add Comment
Please, Sign In to add comment