BpfError::RelocationError type erases the inner error so no need to export the type.
@@ -6,5 +6,4 @@ mod types;
pub use btf::*;
pub(crate) use info::*;
-pub use relocation::RelocationError;
pub(crate) use types::*;
@@ -18,7 +18,7 @@ use crate::{
};
#[derive(Error, Debug)]
-pub enum RelocationError {
+enum RelocationError {
#[error(transparent)]
IOError(#[from] io::Error),