for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace NotificationChannels\FortySixElks\Exceptions;
class CouldNotSendNotification extends \Exception
{
public static function serviceRespondedWithAnError($message, $code)
return new static('46Elks responded with an error:'.$message.' '.$code);
}