Twig never uses trigger_error. Use exceptions to report errors