Something like https://github.com/symfony/symfony/blob/master/src/Symfony/Component/Validator/Exception/UnexpectedTypeException.php, what namespace?