Skip to main content

map_err

Function map_err 

Source
pub(crate) fn map_err(e: Error) -> Error
Expand description

Converts a RocksDB error into the crate’s error representation.

The RocksDB category is translated to the closest standard I/O error kind, while the original engine message becomes the error payload.