pub enum AnalysisError {
DriverError(Error),
ConnectionFailed(String),
ProjectionDropFailed {
projection_name: String,
source_error: String,
},
ProjectionCreationFailed {
projection_name: String,
source_error: String,
},
QueryFailed(String),
ProjectionNotFound(String),
ProjectionAlreadyExists(String),
AlgorithmError(String),
ConfigurationError(String),
IoError(Error),
Generic(String),
}
Expand description
Represents errors that can occur during analysis operations, including database interactions.
Variants§
DriverError(Error)
An error originating from the underlying database driver (neo4rs).
ConnectionFailed(String)
Failed to establish an initial connection to the database.
ProjectionDropFailed
An error occurred while attempting to drop an existing GDS graph projection.
ProjectionCreationFailed
An error occurred during the creation of a GDS graph projection.
QueryFailed(String)
A generic error for database query execution failures not covered by other specific variants.
ProjectionNotFound(String)
Indicates that a requested GDS graph projection was not found.
ProjectionAlreadyExists(String)
Indicates that a GDS graph projection already exists when it was not expected.
AlgorithmError(String)
An error occurred during the execution of a graph algorithm.
ConfigurationError(String)
For configuration-related errors during analysis setup.
IoError(Error)
For I/O errors that might occur (e.g., reading a script file for a query).
Generic(String)
For any other general error encountered during analysis.