use thiserror::Error;
#[derive(Debug, Error)]
pub enum SpoutError {
#[error("failed to create Spout sender")]
SenderCreationFailed,
#[error("failed to create Spout receiver")]
ReceiverCreationFailed,
#[error("failed to send texture")]
TextureSendFailed,
#[error("failed to receive texture")]
TextureReceiveFailed,
#[error("not connected to a sender")]
NotConnected,
}