| 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 | |||