**(Laravel 5.6)**After submitting form with file input, laravel throws PostTooLargeException, I want to redirect back to upload view with error message. I found that I can redirect back in Handler.php method render() with:
`if ($exception instanceof \Illuminate\Http\Exceptions\PostTooLargeException)
{
return redirect()->back();
}
`
But I want to redirect with errors which will be shown in upload form view. I have tried all solutions at link below but nothing worked.
Laravel redirect back with() message
Thanks for help.
Here is image of exception:PostTooLargeException