Net::OAI::Error - OAI-PMH errors.
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
xmlContentError
numerical HTTP status code
For more information about these error codes see: http://www.openarchives.org/OAI/openarchivesprotocol.html#ErrorConditions.
Returns a textual description of the error that was encountered, or an empty string if there was no error associated with the OAI request.
In case of HTTP level errors, returns the associated HTTP::Response object. Otherwise undef.
undef
In case of HTTP level errors, returns the Retry-After header of the HTTP Response object, or the empty string if no such header is persent. Otherwise undef.
Ed Summers <ehs@pobox.com>
To install Net::OAI::Base, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::OAI::Base
CPAN shell
perl -MCPAN -e shell install Net::OAI::Base
For more information on module installation, please visit the detailed CPAN module installation guide.