Skip to content

Commit

Permalink
Update core/src/errors.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Andy Grove <[email protected]>
  • Loading branch information
comphead and andygrove authored Jun 10, 2024
1 parent fc1fabd commit 98bfa15
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ impl convert::From<Box<dyn Any + Send>> for CometError {
}
}
}

impl From<DataFusionError> for CometError {
fn from(value: DataFusionError) -> Self {
CometError::DataFusion {
Expand All @@ -193,6 +194,7 @@ impl From<DataFusionError> for CometError {
}
}
}

impl From<CometError> for DataFusionError {
fn from(value: CometError) -> Self {
match value {
Expand Down

0 comments on commit 98bfa15

Please sign in to comment.