// SPDX-License-Identifier: GPL-2.0-or-later WITH Classpath-exception-2.0
// Audiofox, the audio capturer!
// Copyright (c) 2026 foxberries
// Levels are currently only used on Linux, but work on all platforms
/// The standard error type of the Audiofox library, which wraps [`anyhow`] for backtraces and error
/// context. You do not need to import `anyhow` to receive this functionality.
pub type Error = Error;
/// The standard return type of the Audiofox library.
pub type Result<T> = Result;
/// An [`Error`] associated with the [`log::Level`] at which it should be logged.
/// A shorthand for <code>Result<T, [LeveledError]></code>.
pub type LeveledResult<T> = Result;