/// ErrorErrorEnum
#[derive(serde::Serialize, serde::Deserialize, Debug, Default, Clone)]
pub enum ErrorErrorEnum {
    #[default]
    #[serde(rename = "bad_request")]
    BadRequest,
    #[serde(rename = "forbidden")]
    Forbidden,
    #[serde(rename = "internal")]
    Internal,
    #[serde(rename = "not_found")]
    NotFound,
    #[serde(rename = "unauthorized")]
    Unauthorized,
}
impl std::fmt::Display for ErrorErrorEnum {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        let str_val = match self {
            ErrorErrorEnum::BadRequest => "bad_request",
            ErrorErrorEnum::Forbidden => "forbidden",
            ErrorErrorEnum::Internal => "internal",
            ErrorErrorEnum::NotFound => "not_found",
            ErrorErrorEnum::Unauthorized => "unauthorized",
        };
        write!(f, "{}", str_val)
    }
}
