Venus::Role::Unacceptable
Unacceptable Role
Unacceptable Role for Perl 5
package ExampleAccept;
use Venus::Class 'attr';
attr 'name';
package ExampleDeny;
use Venus::Class 'attr', 'with';
with 'Venus::Role::Unacceptable';
attr 'name';
package main;
my $example = ExampleDeny->new(name => 'example', test => 12345);
# Exception! (isa Venus::Role::Unacceptable::Error)
This package provides a mechanism for raising an exception when unexpected constructor arguments are encountered.
t/Venus.t: present: authors t/Venus.t: present: license
6 POD Errors
The following errors were encountered while parsing the POD:
- Around line 13:
Unknown directive: =name
- Around line 21:
Unknown directive: =tagline
- Around line 29:
Unknown directive: =abstract
- Around line 37:
Unknown directive: =synopsis
- Around line 78:
Unknown directive: =description
- Around line 87:
Unknown directive: =partials