#[derive(Debug, thiserror::Error)]
#[non_exhaustive]
pub enum Error {
#[error("no transcodable video rendition in the source catalog")]
NoSource,
#[error("source rendition {0:?} is missing codedWidth/codedHeight")]
SourceDimensions(String),
#[error(transparent)]
Net(#[from] moq_net::Error),
#[error(transparent)]
Mux(#[from] moq_mux::Error),
#[error(transparent)]
Hang(#[from] hang::Error),
#[error(transparent)]
Video(#[from] moq_video::Error),
#[error(transparent)]
TimeOverflow(#[from] moq_net::TimeOverflow),
#[error("scale failed: {0}")]
Scale(String),
}