First post here :) I'm coming over from a Laravel background and am having a hard time with displaying error messages in views. I often just get a blank screen. In my public/index.php file I have this:
try {
//
} catch (\Exception $e) {
echo $e->getMessage() . '<br>';
echo '<pre>' . $e->getTraceAsString() . '</pre>';
}
In my php.ini file, display_errors is on.
What else do I need to do to get error messages to display in views?