I'm trying to print the errors that usually come in the gray screen , but capturing them in a html and displaying the user to use the system. For this I am using the render method and a view on the resources / views / errors / error.php folder and I'm doing the following:
public function render($request, Exception $e)
{
return response()->view('errors.error', [], 500);
}
This effectively is showing me what I have in error.php html file but want to show the user the actual error captured.
As I do ? Help !!!