#[derive(Debug, thiserror::Error)]
pub enum ServerSessionError {
#[error("timeout: {0}")]
Timeout(#[from] tokio::time::error::Elapsed),
#[error("received publish command before connect command")]
PublishBeforeConnect,
#[error("play not supported")]
PlayNotSupported,
#[error("invalid chunk size: {0}")]
InvalidChunkSize(usize),
}