Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

render vs redirect laravel exception

report() is used if you want to do some additional logging – send error to BugSnag, email, Slack etc.
render() is used if you want to redirect back with error or return HTTP response (like your own Blade file) directly from Exception class
Source by laraveldaily.com #
 
PREVIOUS NEXT
Tagged: #render #redirect #laravel #exception
ADD COMMENT
Topic
Name
4+5 =