Macro fuel_core_interfaces::not_found
source · macro_rules! not_found {
($name: literal) => { ... };
($ty: path) => { ... };
}
Expand description
Creates KvStoreError::NotFound
error with file and line information inside.
Examples
use fuel_core_interfaces::not_found;
use fuel_core_interfaces::db::Messages;
let string_type = not_found!("BlockId");
let mappable_type = not_found!(Messages);
let mappable_path = not_found!(fuel_core_interfaces::db::Coins);