* SPDX-License-Identifier: MIT */ declare(strict_types=1); namespace Respect\Validation\Exceptions; /** * @author Alexandre Gomes Gaigalas * @author Henrique Moody */ final class DomainException extends NestedValidationException { /** * {@inheritDoc} */ protected $defaultTemplates = [ self::MODE_DEFAULT => [ self::STANDARD => '{{name}} must be a valid domain', ], self::MODE_NEGATIVE => [ self::STANDARD => '{{name}} must not be a valid domain', ], ]; }