App::error is for. It is predefined in
switch to check what the
$code is, then use
return Response::view('my.view', , $code);
(untested, not sure if it's the right way).
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us
The Laravel portal for problem solving, knowledge sharing and community building.