aboutsummaryrefslogtreecommitdiff
path: root/matroska/src/lib.rs
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-08-05 11:51:26 +0200
committermetamuffin <metamuffin@disroot.org>2023-08-05 11:51:26 +0200
commit7cba183debcf2cefd90b4c1e7a630fb0c2152d06 (patch)
tree4d662af700078a2b53df08371f31bba0ccd1a216 /matroska/src/lib.rs
parent4a0f08126d80dc589e3c97bf0a07571b8b828a74 (diff)
downloadjellything-7cba183debcf2cefd90b4c1e7a630fb0c2152d06.tar
jellything-7cba183debcf2cefd90b4c1e7a630fb0c2152d06.tar.bz2
jellything-7cba183debcf2cefd90b4c1e7a630fb0c2152d06.tar.zst
(semi-)proper error handling in matroska
Diffstat (limited to 'matroska/src/lib.rs')
-rw-r--r--matroska/src/lib.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/matroska/src/lib.rs b/matroska/src/lib.rs
index b86af44..b2d052c 100644
--- a/matroska/src/lib.rs
+++ b/matroska/src/lib.rs
@@ -4,6 +4,7 @@
Copyright (C) 2023 metamuffin <metamuffin.org>
*/
pub mod block;
+pub mod error;
pub mod matroska;
pub mod read;
pub mod size;
@@ -20,3 +21,6 @@ pub enum Master {
Start,
End,
}
+
+pub(crate) use error::Error;
+pub(crate) type Result<T> = core::result::Result<T, Error>;