* SPDX-License-Identifier: MIT */ declare(strict_types=1); namespace Respect\Validation\Exceptions; /** * Exception class for Mimetype rule. * * @author Danilo Correa * @author Henrique Moody */ final class MimetypeException extends ValidationException { /** * {@inheritDoc} */ protected $defaultTemplates = [ self::MODE_DEFAULT => [ self::STANDARD => '{{name}} must have {{mimetype}} MIME type', ], self::MODE_NEGATIVE => [ self::STANDARD => '{{name}} must not have {{mimetype}} MIME type', ], ]; }