From e583112899cbea7494ffdd73d7de380dd5f808c4 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 10 Jun 2026 00:54:22 +0900 Subject: feat(phase-c): resolve exception-handling phase-b TODOs * Catch specific exception types instead of broad/placeholder handling. * Drop the shim Countable trait. --- crates/shirabe/src/repository/handle.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'crates/shirabe/src/repository/handle.rs') diff --git a/crates/shirabe/src/repository/handle.rs b/crates/shirabe/src/repository/handle.rs index aa79d5e..6721bb2 100644 --- a/crates/shirabe/src/repository/handle.rs +++ b/crates/shirabe/src/repository/handle.rs @@ -4,7 +4,6 @@ use std::cell::{Ref, RefCell, RefMut}; use std::rc::{Rc, Weak}; use indexmap::IndexMap; -use shirabe_php_shim::Countable; use shirabe_semver::constraint::AnyConstraint; use crate::package::BasePackageHandle; @@ -84,7 +83,7 @@ impl RepositoryInterfaceHandle { .map(PlatformRepositoryHandle::from_rc) } - pub fn count(&self) -> i64 { + pub fn count(&self) -> anyhow::Result { self.0.borrow().count() } -- cgit v1.3.1