limithub_code_block_sdk/
error.rs

1pub type Result<T, E = Error> = std::result::Result<T, E>;
2
3#[derive(Debug, thiserror::Error)]
4pub enum Error {
5    #[error("Empty {0} ports")]
6    EmptyPorts(&'static str),
7
8    #[error("Name conflict: {0}")]
9    NameConflict(String),
10
11    #[error("Missing port: {0}")]
12    MissingPort(String),
13}