not_found

Function not_found 

Source
pub fn not_found<S: AsRef<str>>(message: S) -> ElifResponse
Expand description

Create a not found response (404) with error message

Simple equivalent: return response()->json(['error' => 'Not Found'], 404)