logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

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

Name

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

Synopsis

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

See Also