INNER CODE UNIT · Rust
from
splitgraph/seafowl · src/catalog/mod.rs:138
fn from(val: strum::ParseError) -> Self {
Self {
message: val.to_string(),
}
}
}
impl From<serde_json::Error> for CreateFunctionError {
fn from(val: serde_json::Error) -> Self {
Self {
message: val.to_string(),
}
}
}
pub type CatalogResult<T> = Result<T, CatalogError>;
#[async_trait]