for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Maestriam\Samurai\Exceptions;
use Maestriam\Samurai\Exceptions\BaseException;
class InvalidComposerFileException extends BaseException
{
const CODE = '0501';
/**
* Define as configuração para enviar o exception
*
* @param string $name
*/
public function __construct(string $theme)
$this->initialize($theme);
}
* {@inheritDoc}
public function getErrorMessage() : string
return 'Composer file is not valid in theme [%s].';
public function getErrorCode() : string
return self::CODE;