9 lines
231 B
Rust
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")
|
|
}
|