SRU::Response::Diagnostic(3pm)

SRU::Response::Diagnostic3pm

An sru diagnostic message

Usage

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

Overview

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()

Releases

7 releases since Debian 7 (Wheezy); the text changed 4 times.

  1. 7
  2. 8
  3. 9–10
  4. 11
  5. 12–13

From libsru-perl 1.01-3 in Debian 13 (Trixie). Parsed by carta from the page's man source.