mirror of
https://github.com/harivansh-afk/deskctl.git
synced 2026-04-15 09:01:15 +00:00
grouped runtime reads and waits selector modes (#5)
- grouped runtime reads and waits selector modes - Fix wait command client timeouts and test failures
This commit is contained in:
parent
cc8f8e548a
commit
a4cf9e32dd
12 changed files with 1323 additions and 77 deletions
|
|
@ -58,4 +58,12 @@ impl Response {
|
|||
error: Some(msg.into()),
|
||||
}
|
||||
}
|
||||
|
||||
pub fn err_with_data(msg: impl Into<String>, data: Value) -> Self {
|
||||
Self {
|
||||
success: false,
|
||||
data: Some(data),
|
||||
error: Some(msg.into()),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue