| 1 | 11 | ▶ | use 5.10.0; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | 11 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 11 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | package OpenGbg::Exceptions; | ||
| 6 | |||
| 7 | 11 | our $AUTHORITY = 'cpan:CSSON'; # AUTHORITY | |
| 8 | 11 | our $VERSION = '0.1401'; | |
| 9 | |||
| 10 | 11 | ▶ | use Throwable::SugarFactory; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | |||
| 12 | 11 | exception BadResponseFromService | |
| 13 | => 'Failed to get response from service' | ||
| 14 | => has => [service => (is => 'ro')] | ||
| 15 | => has => [url => (is => 'ro')] | ||
| 16 | => has => [status => (is => 'ro')] | ||
| 17 | => has => [reason => (is => 'ro')] | ||
| 18 | ; | ||
| 19 | |||
| 20 | 11 | 1; | |
| 21 | |||
| 22 | __END__ | ||
| 23 | |||
| 24 | =pod | ||
| 25 | |||
| 26 | =encoding UTF-8 | ||
| 27 | |||
| 28 | =head1 NAME | ||
| 29 | |||
| 30 | OpenGbg::Exceptions | ||
| 31 | |||
| 32 | =head1 VERSION | ||
| 33 | |||
| 34 | Version 0.1401, released 2016-05-05. | ||
| 35 | |||
| 36 | =head1 SOURCE | ||
| 37 | |||
| 38 | L<https://github.com/Csson/p5-OpenGbg> | ||
| 39 | |||
| 40 | =head1 HOMEPAGE | ||
| 41 | |||
| 42 | L<https://metacpan.org/release/OpenGbg> | ||
| 43 | |||
| 44 | =head1 AUTHOR | ||
| 45 | |||
| 46 | Erik Carlsson <info@code301.com> | ||
| 47 | |||
| 48 | =head1 COPYRIGHT AND LICENSE | ||
| 49 | |||
| 50 | This software is copyright (c) 2016 by Erik Carlsson. | ||
| 51 | |||
| 52 | This is free software; you can redistribute it and/or modify it under | ||
| 53 | the same terms as the Perl 5 programming language system itself. | ||
| 54 | |||
| 55 | =cut | ||