lib/Myriad/Exception/InternalError.pm

filter: Statementstmt 100% 7 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 8 / 8 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« lib/Myriad/Config.pm ↑ Summary lib/Myriad/Plugin.pm »
1 package Myriad::Exception::InternalError;
2  
3 3 ▶use Myriad::Exception::Builder;
Subroutine BEGIN: called CC=1 SCAR=0.0
4  
5 3 our $VERSION = '1.001'; # VERSION
6 3 our $AUTHORITY = 'cpan:DERIV'; # AUTHORITY
7  
8 =encoding utf8
9  
10 =head1 NAME
11  
12 Myriad::Exception::InternalError - common exception when the error is not relevant to the client.
13  
14 =head1 DESCRIPTION
15  
16 See L<Myriad::Exception> for the rĂ´le that defines the exception API.
17  
18 =cut
19  
20 3 declare_exception '' => (
21 category => 'internal',
22 message => 'Internal error'
23 );
24  
25 3 1;
26  
27 =head1 AUTHOR
28  
29 Deriv Group Services Ltd. C<< DERIV@cpan.org >>.
30  
31 See L<Myriad/CONTRIBUTORS> for full details.
32  
33 =head1 LICENSE
34  
35 Copyright Deriv Group Services Ltd 2020-2022. Licensed under the same terms as Perl itself.
36  
« lib/Myriad/Config.pm ↑ Summary lib/Myriad/Plugin.pm »