for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Maestriam\Samurai\Exceptions;
use Illuminate\Support\Facades\Lang;
use Maestriam\Samurai\Exceptions\BaseException;
class StubNotFoundException extends BaseException
{
const CODE = '0401';
/**
* Define as configuração para enviar o exception
*
* @param string $type
*/
public function __construct(string $type)
$this->initialize($type);
}
* {@inheritDoc}
public function getErrorMessage() : string
return 'The stub file [%s] required is not found.';
public function getErrorCode() : string
return self::CODE;