/ backend / src / api / mod.rs
mod.rs
 1  use serde::{Deserialize, Serialize};
 2  
 3  pub mod container_spec;
 4  pub mod frontend;
 5  pub mod images;
 6  
 7  pub const INTERNAL_SERVER_ERROR: &str = "INTERNAL_SERVER_ERROR";
 8  
 9  #[derive(Serialize, Deserialize, Debug)]
10  pub struct ErrorResponse {
11      error: String,
12  }