Enum pregel_rs::graph_frame::GraphFrameError
source · pub enum GraphFrameError {
FromPolars(PolarsError),
MissingColumn(MissingColumnError),
}
Expand description
GraphFrameError
is an enum that represents the different types of errors that
can occur when working with a GraphFrame
. It has three variants: DuckDbError
,
FromPolars
and MissingColumn
.
Variants§
FromPolars(PolarsError)
FromPolars
is a variant of GraphFrameError
that represents errors that
occur when converting from a PolarsError
.
MissingColumn(MissingColumnError)
MissingColumn
is a variant of GraphFrameError
that represents errors that
occur when a required column is missing from a DataFrame.
Trait Implementations§
source§impl Debug for GraphFrameError
impl Debug for GraphFrameError
source§impl Display for GraphFrameError
impl Display for GraphFrameError
source§impl Error for GraphFrameError
impl Error for GraphFrameError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<PolarsError> for GraphFrameError
impl From<PolarsError> for GraphFrameError
source§fn from(err: PolarsError) -> GraphFrameError
fn from(err: PolarsError) -> GraphFrameError
Converts to this type from the input type.