for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Author: Facundo J Gonzalez
* Date: 17/11/2017.
*/
namespace NotificationChannels\SMSC\Exceptions;
* Class CouldNotSendNotification.
class CouldNotSendNotification extends \Exception
{
* Get a new could not send notification exception with
* length error message.
*
* @return static
public static function contentLengthLimitExceeded()
$message = 'The content length is too long for an sms message.';
return new static($message);
}
* missing recipient message.
public static function missingRecipient()
$message = 'The recipient of the sms message is missing.';
* missing Recipient message.
* @param string $message
public static function apiFailed($message)