From 6b0296e195942c0c6e48f013e8af28170507d486 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Mon, 18 May 2026 00:07:23 +0900 Subject: fix(compile): impl std::error::Error for custom error types --- crates/shirabe/src/package/loader/invalid_package_exception.rs | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'crates/shirabe/src/package/loader/invalid_package_exception.rs') diff --git a/crates/shirabe/src/package/loader/invalid_package_exception.rs b/crates/shirabe/src/package/loader/invalid_package_exception.rs index b0eeb23..96725ba 100644 --- a/crates/shirabe/src/package/loader/invalid_package_exception.rs +++ b/crates/shirabe/src/package/loader/invalid_package_exception.rs @@ -41,3 +41,11 @@ impl InvalidPackageException { &self.warnings } } + +impl std::fmt::Display for InvalidPackageException { + fn fmt(&self, _f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { + todo!() + } +} + +impl std::error::Error for InvalidPackageException {} -- cgit v1.3.1