for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace NotificationChannels\Exponent\Exceptions;
use GuzzleHttp\Exception\RequestException;
class CouldNotSendNotification extends \Exception
{
public static function serviceRespondedWithAnError(RequestException $exception)
return new static($exception->getMessage());
}