Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

/var/sites/help-site.com/auto/tmp/CPAN/9677/Google-Checkout-1.1.1/lib/Google/Checkout/General/Error.pm

/var/sites/help-site.com/auto/tmp/CPAN/9677/Google-Checkout-1.1.1/lib/Google/Checkout/General/Error.pm


NAME

Google::Checkout::General::Error


SYNOPSIS


  use Google::Checkout::General::Error;

  my $error = Google::Checkout::General::Error->new(-1, "Error message");

  print "$error\n";


DESCRIPTION

Module to manage errors. All errors are handled by this object.

new ERROR_CODE, ERROR_STRING
Constructor. Takes an error code and string. The '``''' string operator is overloaded so it's possible to just 'print $error'.

code
Returns the error code.

string
Returns the error string.


COPYRIGHT

Copyright 2006 Google. All rights reserved.


SEE ALSO

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy