for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace NotificationChannels\Gcm\Exceptions;
use Exception;
class SendingFailed extends Exception
{
/**
* @param \Exception $exception
* @return \NotificationChannels\Gcm\ExceptionsSendingFailed
*/
public static function create(Exception $exception)
return new static("Cannot send message to Gcm: {$exception->getMessage()}", 0, $exception);
}