// Copyright (c) 2023 Nick Piaddo
// SPDX-License-Identifier: Apache-2.0 OR MIT
// From dependency library
use thiserror::Error;
// From standard library
// From this library
use crate::mount::UnmountError;
/// [`UnmountBuilder`](crate::mount::UnmountBuilder) runtime errors.
#[derive(Debug, Error)]
#[non_exhaustive]
pub enum UnmountBuilderError {
#[error(transparent)]
Unmount(#[from] UnmountError),
/// Error if required functions were NOT called.
#[error("{0}")]
Required(String),
}