add yomitan import db/scripts

This commit is contained in:
polv committed 2026-02-22 11:46:46 +07:00
1 parent c4103dda7d
commit 8330a78c12
10 files changed
+535 -2

No files matched your search

+10
View File
@@ -1,4 +1,5 @@
use thiserror::Error;
use zip::result::ZipError;
#[derive(Debug, Error)]
pub enum CJDicError {
@@ -8,6 +9,15 @@ pub enum CJDicError {
#[error("Serialization error: {0}")]
Serialization(#[from] serde_json::Error),
#[error("Anyhow error: {0}")]
AnyhowError(#[from] anyhow::Error),
#[error("IO error: {0}")]
IOError(#[from] std::io::Error),
#[error("Zip error: {0}")]
ZipError(#[from] ZipError),
#[error("Not found")]
NotFound,
}