summaryrefslogtreecommitdiffstats
path: root/src/routes/mod.rs
blob: 0de72917af37acf45d7800dc85863712fe581500 (plain)
1
2
3
4
5
6
7
8
9
10
pub mod auth;
pub mod model;
pub mod user;

use crate::errors::AppError;
use axum::response::IntoResponse;

pub async fn page_404() -> impl IntoResponse {
    AppError::NotFound("Route not found".to_string())
}