1 2 3 4 5 6 7 8
use bson::oid::Error as OidError; use crate::Error; impl From<OidError> for Error { fn from(value: OidError) -> Self { Self::new(value.to_string()) } }