| Crates.io | icentral-errors |
| lib.rs | icentral-errors |
| version | 0.1.0 |
| created_at | 2025-04-04 20:50:32.398881+00 |
| updated_at | 2025-04-04 20:50:32.398881+00 |
| description | Provides error handling utilities for betweenness centrality computations, including custom error types and conversion implementations for synchronization errors. |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1620732 |
| size | 52,289 |
The icentral-errors crate provides robust error handling utilities specifically tailored for applications dealing with betweenness centrality computations. This crate simplifies error management and offers clear semantics when handling edge cases that arise in complex graph-algorithm operations.
PoisonMessage trait.PoisonError, into betweenness centrality specific errors using custom From implementations.use icentral_errors::BCError;
fn process_centrality() -> Result<(), BCError> {
// ... your algorithm
Err(BCError::no_key(42))
// ...
}
Add the following to your Cargo.toml:
[dependencies]
icentral-errors = "0.1.0"
This crate was generated by an AI model and may not be 100% accurate. However, it is designed to offer substantial utility and a pattern-rich foundation for error management in graph-related computation scenarios.
This crate is in the process of being translated from c++ to rust. Currently, it still needs exhaustive testing. It is likely there currently exist many glitches which need to be fixed before proper usage. This crate is based on the original icentral program developed by Fuad Jamor. Please see the following repository for details: https://github.com/fjamour/icentral.
For progress updates, see the workspacer rust project.