We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a620b5 commit 03c3129Copy full SHA for 03c3129
src/Response.php
@@ -60,6 +60,11 @@ public function __construct($text, &$client = null)
60
$this->records[] = new Record($record);
61
}
62
63
+ $e = $doc->first('/srw:searchRetrieveResponse/srw:diagnostics');
64
+ if ($e) {
65
+ $this->error = $e->text('d:diagnostic/d:messsage') . ' : ' . $e->text('d:diagnostic/d:details');
66
+ }
67
+
68
$this->client = $client;
69
70
// The server may echo the request back to the client along with the response
0 commit comments