Skip to main content

moq_mux/
error.rs

1/// Errors from moq-mux operations.
2#[derive(Debug, thiserror::Error)]
3#[non_exhaustive]
4pub enum Error {
5	#[error("moq: {0}")]
6	Moq(#[from] moq_lite::Error),
7
8	#[error("hang: {0}")]
9	Hang(#[from] hang::Error),
10
11	#[cfg(feature = "mp4")]
12	#[error("cmaf: {0}")]
13	Cmaf(#[from] crate::cmaf::Error),
14}