mirror of https://github.com/aya-rs/aya
Use BpfError::RelocationError for both maps and BTF relocations. The error includes the name of the program that failed, and the source error stored as Box<dyn Error>. This hides the implementation details of the source errors - which are unrecoverable anyway - while still allowing fine grained error messages. |
4 years ago | |
---|---|---|
.. | ||
btf.rs | 4 years ago | |
mod.rs | 4 years ago | |
relocation.rs | 4 years ago | |
types.rs | 4 years ago |