Development Documentation (main branch) - For stable release docs, see docs.rs/eidetica
Skip to main content

service_error_to_eidetica_error

Function service_error_to_eidetica_error 

Source
pub fn service_error_to_eidetica_error(err: ServiceError) -> Error
Expand description

Reconstruct a crate::Error from a ServiceError.

Matches on module + kind to produce the most specific error variant possible. Falls back to a generic IO error with the original message for unrecognized combinations.