Lines Matching refs:Err
265 _ => return Err(Error::Km(ErrorCode::INVALID_OPERATION_HANDLE)), in prune()
267 Err(_) => return Err(Error::Rc(ResponseCode::OPERATION_BUSY)), in prune()
281 return Err(Error::Rc(ResponseCode::OPERATION_BUSY)); in prune()
288 Err(e) => { in prune()
290 return Err(Error::sys()); in prune()
297 if let Err(e) = map_km_error(km_op.abort()) { in prune()
316 Err(Error::Km(e)) => *locked_outcome = Outcome::ErrorCode(*e), in update_outcome()
317 Err(_) => *locked_outcome = Outcome::ErrorCode(ErrorCode::UNKNOWN_ERROR), in update_outcome()
332 _ => Err(Error::Km(ErrorCode::INVALID_OPERATION_HANDLE)).context(format!( in check_active()
345 return Err(anyhow!(Error::Rc(ResponseCode::TOO_MUCH_DATA))); in check_input_length()
489 if let Err(e) = self.abort(Outcome::Dropped) { in drop()
743 Err(Error::Km(ErrorCode::INVALID_OPERATION_HANDLE)) => break Ok(()), in prune()
757 Err(Error::Rc(ResponseCode::OPERATION_BUSY)) => { in prune()
778 None => break Err(Error::Rc(ResponseCode::BACKEND_BUSY)), in prune()
822 None => Err(Error::Km(ErrorCode::INVALID_OPERATION_HANDLE)) in with_locked_operation()
835 Err(_) => Err(Error::Rc(ResponseCode::OPERATION_BUSY)) in with_locked_operation()