pub trait IsNotFound {
// Required method
fn is_not_found(&self) -> bool;
}
Expand description
The helper trait to work with storage errors.
Required Methods§
sourcefn is_not_found(&self) -> bool
fn is_not_found(&self) -> bool
Return true
if the error is Error::NotFound
.