Have a method that\'s importing CSV-data into a Database. I do some basic validation using
class CsvImportController extends Controller { public functio
you can try a custom message bag
try { // Call the rabbit hole of an import method } catch(\Exception $e) { return redirect()->to('dashboard')->withErrors(new \Illuminate\Support\MessageBag(['catch_exception'=>$e->getMessage()])); }