for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace NotificationChannels\PagerDuty\Exceptions;
class CouldNotSendNotification extends \Exception
{
public static function create(\Exception $e)
return new static("Cannot send message to PagerDuty: {$e->getMessage()}", 0, $e);
}