open-orchestra/open-orchestra-cms-bundle

View on GitHub
Backoffice/Exception/ValueTransfomationFailedException.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace OpenOrchestra\Backoffice\Exception;

/**
 * Class ValueTransfomationFailedException
 */
class ValueTransfomationFailedException extends \Exception
{
    /**
     * @param string $fieldType
     */
    public function __construct($fieldType)
    {
        parent::__construct(sprintf('The field %s has not been correctly transformed', $fieldType));
    }
}