1use airio_stream_select::NegotiationError; 2 3#[derive(Debug, thiserror::Error)] 4pub enum UpgradeError<E> { 5 #[error(transparent)] 6 Select(#[from] NegotiationError), 7 #[error(transparent)] 8 Apply(E), 9}