for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Graze\CiffRenderer\Exception;
use Graze\CiffRenderer\Exception\ExceptionInterface;
class UnsupportedFieldTypeException extends \InvalidArgumentException implements ExceptionInterface
{
/**
* @var string
*/
protected $fieldType;
* @param string $fieldType
* @param null|Exception $previous
public function __construct($fieldType, Exception $previous = null)
$this->fieldType = $fieldType;
$message = sprintf('Unsupported field type [%s]', $fieldType);
parent::__construct($message, 0, $previous);
}
* @return string
public function getFieldType()
return $this->fieldType;