to_extension_error

Function to_extension_error 

pub fn to_extension_error<E>(e: E) -> MoosyncError
where E: Error + Send + Sync + 'static,