devtools_core/error.rs
1#[derive(Debug, thiserror::Error)]
2#[non_exhaustive]
3pub enum Error {
4 #[error(transparent)]
5 Io(#[from] std::io::Error),
6
7 #[error(transparent)]
8 TryInitError(#[from] tracing_subscriber::util::TryInitError),
9
10 #[error(transparent)]
11 Tonic(#[from] tonic::transport::Error),
12
13 #[error(transparent)]
14 RelativizePathError(#[from] std::path::StripPrefixError),
15
16 #[error("No free port found")]
17 NoFreePorts,
18}