use thiserror::Error;
#[derive(Error, Debug)]
pub enum YdkeError {
#[error("Invalid URL format: The URL must start with 'ydke://'")]
NotYdkeUrl,
#[error("Invalid URL format: The URL must contain exactly three '!' separators to divide main, extra, and side decks")]
MissingDelimiters,
#[error("Base64 decode error: {0}")]
Base64DecodeError(#[from] base64::DecodeError),
}