spdlog_opentelemetry/
error.rs

1use thiserror::Error;
2
3/// Represents errors that can occur in this crate.
4#[derive(Error, Debug)]
5pub enum Error {
6    /// Returned when value bag encounters an error.
7    #[error("{0}")]
8    ValueBag(value_bag::Error),
9}
10
11/// Represents the result type for this crate.
12pub type Result<T> = std::result::Result<T, Error>;