Scroll to navigation

SRU::Response::Diagnostic(3pm) User Contributed Perl Documentation SRU::Response::Diagnostic(3pm)

NAME

SRU::Response::Diagnostic - An SRU diagnostic message

SYNOPSIS

    my $d = SRU::Response::Diagnostic->new(
        uri     => '',
        details => ''
        message => '' 
    );
    print $d->asXML();

DESCRIPTION

You probably won't need to use this class since it used interally to store diagnostic messages.

METHOD

new()

Pass in uri, details and message attributes as needed. You'll probably find using newFromCode() easier to work with.

newFromCode()

Create a SRU::Response::Diagnostic object from a code. For a complete list of the codes see the SRW/SRU documentation.

uri()

details()

message()

asXML()

2009-11-20 perl v5.12.4