Skip to main content

DataFusionErrorExt

Trait DataFusionErrorExt 

Source
pub trait DataFusionErrorExt {
    // Required method
    fn find_algeon_error(&self) -> Option<&Error>;
}
Expand description

DataFusion error inspection helpers provided by algeon-datafusion.

Required Methods§

Source

fn find_algeon_error(&self) -> Option<&Error>

Finds the first Algeon Error in this DataFusion error tree.

Traversal is deterministic depth-first pre-order. Generic std::error::Error::source links are followed, while every DataFusionError::Collection branch is visited in collection order. The first match in that order is returned. Traversal is bounded defensively by both depth and total node count. A None result only means no Algeon error was found within that budget; it does not prove that branches beyond the budget contain no Algeon identity.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl DataFusionErrorExt for DataFusionError

Implementors§