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)
pub fn not_found<S: AsRef<str>>(message: S) -> ElifResponse
Create a not found response (404) with error message
Simple equivalent: return response()->json(['error' => 'Not Found'], 404)