for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Pushmix\WebNotification\Exceptions;
class CouldNotSendNotification extends \Exception
{
public static function error($response)
return new static($response->getMessage().' - error code: '.$response->getCode());
}