View on
MetaCPAN
search.cpan.org is shutting down
For details read Perl NOC. After June 25th this page will redirect to MetaCPAN.org
David Shao Lin Zhuo > Google-Checkout-1.1.1 > Google::Checkout::General::Error

Download:
Google-Checkout-1.1.1.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  7
Open  1
View/Report Bugs
Source  

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 ^

syntax highlighting: