| 1 | package Net::OpenID::Connect::IDToken::Exception; | ||
| 2 | 4 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 4 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 4 | ▶ | use overload ( |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 4 | q|""| => \&to_string, | |
| 7 | 4 | ); | |
| 8 | |||
| 9 | 4 | ▶ | use Carp qw//; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | |||
| 12 | 5 | ▶ | sub throw { |
|
Subroutine
throw: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 13 | 5 | my ($class, %args) = @_; | |
| 14 | 5 | Carp::croak bless \%args, $class; | |
| 15 | } | ||
| 16 | |||
| 17 | 5 | ▶ | sub code { $_[0]->{code} } |
|
Subroutine
code: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 18 | 0 | ▶ | sub message { $_[0]->{message} } |
|
Subroutine
message: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 19 | |||
| 20 | 0 | ▶ | sub to_string { |
|
Subroutine
to_string: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 21 | 0 | sprintf("<%s>: %s", $_[0]->code, $_[0]->message); | |
| 22 | } | ||
| 23 | |||
| 24 | 4 | 1; | |