//! Error types for the `pineappl` library.
usestd::result::Result as StdResult;usethiserror::Error;/// Catch-all error for this crate.
#[derive(Debug, Error)]pubenumError{/// An error that originates in this crate.
#[error("{0}")]
General(String),/// Error that does not originate from this crate.
#[error(transparent)]
Other(#[from]anyhow::Error),}/// Convenient result type using [`Error`].
pubtypeResult<T>=StdResult<T, Error>;