mirror of
https://github.com/watchexec/watchexec.git
synced 2024-11-13 07:41:11 +01:00
Add RuntimeError::Set of related errors
This commit is contained in:
parent
6a541e5f27
commit
9527202c51
1 changed files with 5 additions and 0 deletions
|
@ -236,6 +236,11 @@ pub enum RuntimeError {
|
|||
#[source]
|
||||
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.
|
||||
|
|
Loading…
Reference in a new issue