mirror of
https://github.com/patarapolw/cjdic2.git
synced 2026-11-08 17:35:18 +00:00
add yomitan import db/scripts
This commit is contained in:
1 parent
c4103dda7d
commit
8330a78c12
10 files changed
+535
-2
No files matched your search
@@ -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,
|
||||
}
|
||||
Reference in new issue
Block a user