CloudFlare::Client::Exception::Connection - CloudFlare API Connection Exception
version v0.55.3
use CloudFlare::Client::Exception::Connection; CloudFlare::Client::Exception::Connection::->throw( message => 'HTTPS connection failure', status => '404', ); my $e = CloudFlare::Client::Exception::Connection::->new( message => 'HTTPS connection failure', status => '404', ); $e->throw;
The error message thrown upstream, readonly
The status code for the connection failure, readonly
On the class, throw a new exception
CloudFlare::Client::Exception::Connection::->throw( message => 'HTTPS connection failure', status => '404', ); ...
On an instance, throw that exception
$e->throw;
Construct a new exception
my $e = CloudFlare::Client::Exception::Connection::->throw( message => 'HTTPS connection failure', errorcode => '404', );
Please see those modules/websites for more information related to this module.
CloudFlare::Client
You can find documentation for this module with the perldoc command.
perldoc CloudFlare::Client::Exception::Connection
The following websites have more information about this module, and may be of help to you. As always, in addition to those websites please use your favorite search engine to discover more resources.
MetaCPAN
A modern, open-source CPAN search engine, useful to view POD in HTML format.
http://metacpan.org/release/CloudFlare-Client
You can email the author of this module at me+dev@peter-r.co.uk asking for help with any problems you have.
me+dev@peter-r.co.uk
The code is open to the world, and available for you to hack on. Please feel free to browse it and play with it, or whatever. If you want to contribute patches, please send me a diff or prod me to pull from your repository :)
https://github.com/pwr22/cloudflare-client
git clone git://github.com/pwr22/cloudflare-client.git
Please report any bugs or feature requests on the bugtracker website https://github.com/pwr22/cloudflare-client/issues
When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.
Peter Roberts <me+dev@peter-r.co.uk>
This software is Copyright (c) 2015 by Peter Roberts.
This is free software, licensed under:
The MIT (X11) License
To install CloudFlare::Client, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CloudFlare::Client
CPAN shell
perl -MCPAN -e shell install CloudFlare::Client
For more information on module installation, please visit the detailed CPAN module installation guide.