for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace NotificationChannels\PivotalTracker\Exceptions;
use Exception;
class CouldNotSendNotification extends Exception
{
public static function serviceRespondedWithAnError($response)
return new static('Pivotal Tracker responded with an error: `'.$response->getBody()->getContents().'`');
}