/*
SPDX-License-Identifier: GPL-3.0-or-later
Copyright © 2026 Mike Robeson [dijksterhuis]
*/

use thiserror::Error;

/// Errors for the [`crate::sample_files`] module
#[derive(Debug, Error)]
pub enum SampleFilesErrors {
    #[error("slot path is empty, no sample file exists for slot")]
    EmptySlotPath,
    #[error("slot is inactive, no sample file exists for slot")]
    InactiveSlot,
    #[error("unable to read data for lazy file on first access: {path}")]
    LazyRead { path: std::path::PathBuf },
}
