7 lines
166 B
Rust
7 lines
166 B
Rust
|
use rocket::Request;
|
||
|
|
||
|
#[catch(404)]
|
||
|
pub fn not_found(_: &Request) -> String {
|
||
|
String::from("This route doesn't exist or doesn't use the specified parameters.")
|
||
|
}
|