Lines Matching refs:Err
187 return Err(Error::sys()).context( in check_state()
232 Err(e) => return Some(Err(e)), in do_serialized()
261 if let Err(e) = sender.send((new_state, result)) { in do_serialized()
267 Err(e) => { in do_serialized()
268 return Some(Err(e).context("In do_serialized. Failed to receive from the sender.")) in do_serialized()
300 Err(e) => match e.root_cause().downcast_ref::<Error>() { in with_try_migrate()
302 _ => return Err(e), in with_try_migrate()
314 return Err(Error::Rc(ResponseCode::KEY_NOT_FOUND)) in with_try_migrate()
320 return Err(Error::Rc(ResponseCode::KEY_NOT_FOUND)) in with_try_migrate()
334 Err(Error::Rc(ResponseCode::KEY_NOT_FOUND)).context("Legacy database is empty.") in with_try_migrate()
354 Err(e) => return Err(e), in with_try_migrate_super_key()
481 return Err(Error::Rc(ResponseCode::LOCKED)).context(concat!( in check_and_migrate()
492 return Err(Error::Rc(ResponseCode::KEY_NOT_FOUND)) in check_and_migrate()
507 return Err(Error::Rc(ResponseCode::KEY_NOT_FOUND)) in check_and_migrate()
543 Err(Error::Rc(ResponseCode::KEY_NOT_FOUND)) in check_and_migrate()
559 Err(e) => Err(e), in check_and_migrate()
593 Err(Error::Rc(ResponseCode::KEY_NOT_FOUND)) in check_and_migrate_super_key()