init_tracing_opentelemetry/
error.rs1#[derive(thiserror::Error, Debug)]
2pub enum Error {
3 #[error(transparent)]
4 IoError(#[from] std::io::Error),
5
6 #[error(transparent)]
7 SetGlobalDefaultError(#[from] tracing::subscriber::SetGlobalDefaultError),
8
9 #[error(transparent)]
10 TraceError(#[from] opentelemetry_sdk::trace::TraceError),
11
12 #[cfg(feature = "otlp")]
13 #[error(transparent)]
14 ExporterBuildError(#[from] opentelemetry_otlp::ExporterBuildError),
15
16 #[cfg(feature = "tracing_subscriber_ext")]
17 #[error(transparent)]
18 FilterParseError(#[from] tracing_subscriber::filter::ParseError),
19}