| 1 | package OpenID::Lite::Role::ErrorHandler; | ||||||||||||
| 2 | |||||||||||||
| 3 | 8 | ▶ | use Any::Moose '::Role'; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 4 | |||||||||||||
| 5 | 8 | has '_errstr' => ( | |||||||||||
| 6 | is => 'rw', | ||||||||||||
| 7 | isa => 'Str', | ||||||||||||
| 8 | ); | ||||||||||||
| 9 | |||||||||||||
| 10 | 15 | ▶ | sub ERROR { | ||||||||||
|
Subroutine
ERROR: called CC=2 SCAR=7.1
Pod
undocumented
| |||||||||||||
| 11 | 15 | my ( $self, $msg ) = @_; | |||||||||||
| 12 | 15 | ▶ | $self->_errstr( $msg || '' ); | ||||||||||
|
Condition50%1/2
$msg || ''
MC/DC0%0/1
$msg || ''
$msg
Truth table50%1/2
A
A= $msg
| |||||||||||||
| 13 | 15 | return; | |||||||||||
| 14 | } | ||||||||||||
| 15 | |||||||||||||
| 16 | 19 | ▶ | sub errstr { | ||||||||||
|
Subroutine
errstr: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||||
| 17 | 19 | shift->_errstr; | |||||||||||
| 18 | } | ||||||||||||
| 19 | |||||||||||||
| 20 | 8 | 1; | |||||||||||
| 21 | |||||||||||||