cdb/src/routes/item/error.rs
2024-06-22 02:16:21 +02:00

9 lines
231 B
Rust

use crate::routes::{api_error, ApiError};
pub fn item_does_not_exist_error() -> ApiError {
api_error("The item does not exist")
}
pub fn variant_does_not_exist_error() -> ApiError {
api_error("The item does not exist")
}