NAME

WWW::Google::ClientLogin::Constants - constants used for ClientLogin

SYNOPSIS

  # export all
  use WWW::Google::ClientLogin::Constants; # same as `use WWW::Google::ClientLogin::Constants qw(:all)`

  # export error code only
  use WWW::Google::ClientLogin::Constants qw(:error_code);

  # do something...
  my $res = $c2dm->send(...);
  if ($res->is_error && $res->error_code eq NotRegistered) {
      ...
  }

DESCRIPTION

WWW::Google::ClientLogin::Constants is some constants for ClientLogin.

METHODS

  # error code for ClientLogin
  BadAuthentication
  NotVerified
  TermsNotAgreed
  CaptchaRequired
  Unknown
  AccountDeleted
  AccountDisabled
  ServiceDisabled
  ServiceUnavailable

AUTHOR

xaicron <xaicron@cpan.org>

COPYRIGHT

Copyright 2012 - xaicron

LICENSE

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

SEE ALSO