Enhanced exception handler for Laravel