From 7cba183debcf2cefd90b4c1e7a630fb0c2152d06 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sat, 5 Aug 2023 11:51:26 +0200 Subject: (semi-)proper error handling in matroska --- matroska/src/lib.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'matroska/src/lib.rs') 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 */ 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 = core::result::Result; -- cgit v1.2.3-70-g09d2