The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::OAI::Error - OAI-PMH errors.

SYNOPSIS

DESCRIPTION

METHODS

new()

errorCode()

Returns an OAI error if one was encountered, or the empty string if no errors were associated with the OAI request.

  • badArgument

  • badResumptionToken

  • badVerb

  • cannotDisseminateFormat

  • idDoesNotExist

  • noRecordsMatch

  • noMetadataFormats

  • noSetHierarchy

  • xmlParseError

For more information about these error codes see: http://www.openarchives.org/OAI/openarchivesprotocol.html#ErrorConditions.

errorString()

Returns a textual description of the error that was encountered, or an empty string if there was no error associated with the OAI request.

HTTPError()

In case of HTTP level errors, returns the associated HTTP::Response object. Otherwise undef.

TODO

SEE ALSO

AUTHORS

  • Ed Summers <ehs@pobox.com>