The Slim Framework support forum has moved to http://discourse.slimframework.com. This Tender forum is no longer maintained or monitored.

View.php function Render: can the $templatePathname also be used in the Exception

Mirco Babin's Avatar

Mirco Babin

23 Feb, 2014 02:23 PM

Dear reader,

I'm new to the Slim framework. I probably made some very basic error somewhere. I'm hitting the exception in View::render

throw new \RuntimeException("View cannot render $template because the template does not exist");

Could this exception be expanded with $templatePathname so that I know what physical file is actually being used ?

Kind regards,
Mirco Babin

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac