« lib/HTTP/Promise/Headers/ClearSiteData.pm
↑ Summary
blib/lib/HTTP/Promise/Headers/AcceptEncoding.pm »
| 1 | ##---------------------------------------------------------------------------- | ||
| 2 | ## Asynchronous HTTP Request and Promise - ~/lib/HTTP/Promise/Exception.pm | ||
| 3 | ## Version v0.1.0 | ||
| 4 | ## Copyright(c) 2022 DEGUEST Pte. Ltd. | ||
| 5 | ## Author: Jacques Deguest <jack@deguest.jp> | ||
| 6 | ## Created 2022/03/25 | ||
| 7 | ## Modified 2022/03/25 | ||
| 8 | ## All rights reserved | ||
| 9 | ## | ||
| 10 | ## This program is free software; you can redistribute it and/or modify it | ||
| 11 | ## under the same terms as Perl itself. | ||
| 12 | ##---------------------------------------------------------------------------- | ||
| 13 | package HTTP::Promise::Exception; | ||
| 14 | BEGIN | ||
| 15 | { | ||
| 16 | use strict; | ||
| 17 | use warnings; | ||
| 18 | use parent qw( Module::Generic::Exception ); | ||
| 19 | our $VERSION = 'v0.1.0'; | ||
| 20 | }; | ||
| 21 | |||
| 22 | 1; | ||
| 23 | # NOTE: POD | ||
| 24 | __END__ | ||
| 25 | |||
| 26 | =encoding utf-8 | ||
| 27 | |||
| 28 | =head1 NAME | ||
| 29 | |||
| 30 | HTTP::Promise::Exception - HTTP Exception | ||
| 31 | |||
| 32 | =head1 SYNOPSIS | ||
| 33 | |||
| 34 | use HTTP::Promise::Exception; | ||
| 35 | my $this = HTTP::Promise::Exception->new( $error_message ) || | ||
| 36 | die( HTTP::Promise::Exception->error, "\n" ); | ||
| 37 | |||
| 38 | =head1 VERSION | ||
| 39 | |||
| 40 | v0.1.0 | ||
| 41 | |||
| 42 | =head1 DESCRIPTION | ||
| 43 | |||
| 44 | This class inherits all its methods from L<Module::Generic::Exception> | ||
| 45 | |||
| 46 | =head1 METHODS | ||
| 47 | |||
| 48 | Plese see L<Module::Generic::Exception> for details. | ||
| 49 | |||
| 50 | =head1 THREAD SAFETY | ||
| 51 | |||
| 52 | This module is thread-safe. | ||
| 53 | |||
| 54 | It inherits from L<Module::Generic::Exception>, and each instance of L<Module::Generic::Exception> is self-contained and immutable once created and does not share any mutable state across threads. | ||
| 55 | |||
| 56 | =head1 AUTHOR | ||
| 57 | |||
| 58 | Jacques Deguest E<lt>F<jack@deguest.jp>E<gt> | ||
| 59 | |||
| 60 | =head1 SEE ALSO | ||
| 61 | |||
| 62 | L<Module::Generic::Exception> | ||
| 63 | |||
| 64 | L<HTTP::Promise>, L<HTTP::Promise::Request>, L<HTTP::Promise::Response>, L<HTTP::Promise::Message>, L<HTTP::Promise::Entity>, L<HTTP::Promise::Headers>, L<HTTP::Promise::Body>, L<HTTP::Promise::Body::Form>, L<HTTP::Promise::Body::Form::Data>, L<HTTP::Promise::Body::Form::Field>, L<HTTP::Promise::Status>, L<HTTP::Promise::MIME>, L<HTTP::Promise::Parser>, L<HTTP::Promise::IO>, L<HTTP::Promise::Stream>, L<HTTP::Promise::Exception> | ||
| 65 | |||
| 66 | =head1 COPYRIGHT & LICENSE | ||
| 67 | |||
| 68 | Copyright(c) 2022 DEGUEST Pte. Ltd. | ||
| 69 | |||
| 70 | All rights reserved. | ||
| 71 | |||
| 72 | This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. | ||
| 73 | |||
| 74 | =cut |