refactor: improve error handling for getting projects

This commit is contained in:
2024-08-22 23:34:49 +02:00
parent 3735bb6fdb
commit 982897058e
3 changed files with 13 additions and 5 deletions

View File

@ -1,7 +1,9 @@
use std::fmt::Display;
use std::str::FromStr;
use serde::Deserialize;
use serde_with::serde_derive::Serialize;
#[derive(Debug)]
#[derive(Serialize, Deserialize, Clone, Debug)]
pub struct ErrorVec<T> {
errors: Vec<T>,
}