📅  最后修改于: 2022-03-11 14:53:54.552000             🧑  作者: Mango
return Redirect::back()->withErrors(['msg' => 'The Message']);
inside you view
@if($errors->any())
{{$errors->first()}}
@endif