Skip to content

3.2.0 - Service name retrieval from RejectedException

Compare
Choose a tag to compare
@ackintosh ackintosh released this 11 Feb 06:21
· 19 commits to master since this release
b491dcf

As of this release RejectedException::serviceName() is available. It returns the service name that Ganesha deems to be in a fault state. Thank you @marmichalski !

try {
    $client->get('http://api.example.com/awesome_resource');
} catch (RejectedException $e) {
    // Obtain the service name.
    echo $e->serviceName();
}

What's Changed

New Contributors

Full Changelog: 3.1.2...3.2.0