mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-14 06:14:23 +00:00
16 lines
432 B
PHP
16 lines
432 B
PHP
<?php
|
|
|
|
namespace Chill\CustomFieldsBundle\Service;
|
|
|
|
class CustomFieldsHelperException extends \Exception
|
|
{
|
|
public static function customFieldsGroupNotFound($entity)
|
|
{
|
|
return new CustomFieldsRenderingException("The customFieldsGroups associated with $entity are not found");
|
|
}
|
|
|
|
public static function slugIsMissing()
|
|
{
|
|
return new CustomFieldsRenderingException("The slug is missing");
|
|
}
|
|
} |