We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1bd4027 commit e733629Copy full SHA for e733629
2 files changed
src/errors.rs
@@ -31,20 +31,8 @@ pub enum Error {
31
WriteRecord,
32
33
// Errors for faidx
34
- #[error("The given position is too large to be converted to i64")]
35
- FaidxPositionTooLarge,
36
- #[error("bad conversion of sequence name")]
37
- FaidxBadSeqName,
38
- #[error("failed to build index for fasta file {path:?}")]
39
- FaidxBuildFailed { path: std::path::PathBuf },
40
- #[error("failed to open FASTA/FAI")]
41
- FaidxOpenError,
42
- #[error("failed to fetch sequence {name}:{begin}-{end}")]
43
- FaidxFetchFailed {
44
- name: String,
45
- begin: usize,
46
- end: usize,
47
- },
+ #[error(transparent)]
+ Faidx(#[from] crate::faidx::FaidxError),
48
49
// Errors for Tbx
50
#[error("previous iterator generation failed")]
0 commit comments