use thiserror::Error;
#[derive(Debug, Error)]
pub enum Error {
#[error("stale revision {applied} (current {current})")]
StaleRevision {
applied: u64,
current: u64,
},
#[error("buffer is read-only")]
ReadOnly,
#[error(transparent)]
Text(#[from] continuity_text::Error),
}