X::Protocol::HTTP - Perl6 Exception class for HTTP results

NAME

X::Protocol::HTTP - Perl6 Exception class for HTTP results

SYNOPSIS


    use X::Protocol::HTTP;

    $result = get_some_object_from_an_HTTP_library();

    # Assuming $result stringifies usefully, just hook it with :origin
    X::Protocol::HTTP.new(:code($result.status) :origin($result)).toss;

AUTHOR

Brian S. Julin

COPYRIGHT

Copyright (c) 2015 Brian S. Julin. All rights reserved.

Codes and human-readable text were taken from HTTP::Message, Copyright (c) 1995-2008 Gisle Aas.

LICENSE

This program is free software; you can redistribute it and/or modify it under the terms of the Perl Artistic License 2.0.

SEE-ALSO

Exception::(pm3) HTTP::Status(pm3)

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.