Kent Fredric > Net-Minecraft-Login-0.001000 > Net::Minecraft::LoginFailure

Download:
Net-Minecraft-Login-0.001000.tar.gz

Dependencies

Annotate this POD

Website

View/Report Bugs
Module Version: 0.001000   Source   Latest Release: Net-Minecraft-Login-0.002000

NAME ^

Net::Minecraft::LoginFailure - Result info for a Minecraft Login.

VERSION ^

version 0.001000

CONSTRUCTOR ARGUMENTS ^

        my $error = Net::Minecraft::LoginFailure->new(
                code => $somecode,
                reason => $reason,
        );

This is ultimately a very low quality exception without throw on by default.

code

The HTTP Failure Code.

        type : HTTP Status Number ( ie: 000 -> 599 )

reason

The Reason given by the server for a Login Failure.

        type : String

METHODS ^

as_string

        overload: for ""
        returns a string description of this login failure.

AUTHOR ^

Kent Fredric <kentnl@cpan.org>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2013 by Kent Fredric <kentnl@cpan.org>.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

syntax highlighting: