I Twig_Error seems a bit too generic UnexpectedValueException is most appropriate.