Kent Fredric │‫3﹪🔋

NAME

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

VERSION

version 0.002000

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

is_success

Always returns a false value for instances of this class.

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.