mirror of
https://github.com/watchexec/watchexec.git
synced 2024-09-28 22:21:33 +02:00
Add RuntimeError::Set of related errors
This commit is contained in:
parent
6a541e5f27
commit
9527202c51
@ -236,6 +236,11 @@ pub enum RuntimeError {
|
|||||||
#[source]
|
#[source]
|
||||||
err: Box<dyn std::error::Error + Send + Sync>,
|
err: Box<dyn std::error::Error + Send + Sync>,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
/// A set of related [`RuntimeError`]s.
|
||||||
|
#[error("related: {0:?}")]
|
||||||
|
#[diagnostic(code(watchexec::runtime::set))]
|
||||||
|
Set(#[related] Vec<RuntimeError>),
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Errors occurring from reconfigs.
|
/// Errors occurring from reconfigs.
|
||||||
|
Loading…
Reference in New Issue
Block a user