macro_rules! ipfs_error {
(network, $msg:expr) => { ... };
(timeout, $msg:expr) => { ... };
(invalid_cid, $cid:expr) => { ... };
(pubsub, $msg:expr) => { ... };
(storage, $msg:expr) => { ... };
(config, $msg:expr) => { ... };
(not_found, $item:expr) => { ... };
(unsupported, $op:expr) => { ... };
}Expand description
Macro para criar erros IPFS facilmente