aboutsummaryrefslogtreecommitdiff
path: root/matroska/src/error.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2025-09-13 16:08:42 +0200
committermetamuffin <metamuffin@disroot.org>2025-09-13 16:08:42 +0200
commit044c7e1c75145f1ec9d002b4f6fc4433ff7f9540 (patch)
treedb326c8f2327396ed443a1822936927e7c847494 /matroska/src/error.rs
parente99bde7a00a161ff5dd91eaf1ce546a9d98cef05 (diff)
downloadjellything-044c7e1c75145f1ec9d002b4f6fc4433ff7f9540.tar
jellything-044c7e1c75145f1ec9d002b4f6fc4433ff7f9540.tar.bz2
jellything-044c7e1c75145f1ec9d002b4f6fc4433ff7f9540.tar.zst
start remuxer crate rewrite; added matroska demuxer and format detection
Diffstat (limited to 'matroska/src/error.rs')
-rw-r--r--matroska/src/error.rs24
1 files changed, 0 insertions, 24 deletions
diff --git a/matroska/src/error.rs b/matroska/src/error.rs
deleted file mode 100644
index d2bbcbf..0000000
--- a/matroska/src/error.rs
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- This file is part of jellything (https://codeberg.org/metamuffin/jellything)
- which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
- Copyright (C) 2025 metamuffin <metamuffin.org>
-*/
-use thiserror::Error;
-
-#[derive(Debug, Error)]
-pub enum Error {
- #[error("invalid padding")]
- InvalidPadding,
- #[error("varint too long")]
- VarintTooLong,
- #[error("global tags dont provide any context")]
- GlobalTagsAsContext,
- #[error("invalid length of a exact size type")]
- InvalidTypeLen,
- #[error("invalid utf8")]
- InvalidUTF8,
- #[error("unknown id")]
- UnknownID,
- #[error("io: {0}")]
- Io(#[from] std::io::Error),
-}