use std::collections::BTreeSet;
use opentalk_roomserver_types::signaling::module_error::ModuleError;
use opentalk_types_signaling::ParticipantId;
#[derive(Clone, Debug, PartialEq, Eq, serde::Serialize, serde::Deserialize)]
#[serde(tag = "error", rename_all = "snake_case")]
pub enum LiveKitError {
LivekitUnavailable,
InsufficientPermissions,
UnknownParticipant {
participant: BTreeSet<ParticipantId>,
},
ConflictingTask,
}
impl ModuleError for LiveKitError {}