Refactor start logic and add stderr streaming
This commit is contained in:
@@ -61,6 +61,9 @@ pub enum HandleError {
|
||||
pub enum SubscribeError {
|
||||
#[error("No stdout found")]
|
||||
NoStdout,
|
||||
|
||||
#[error("No stderr found")]
|
||||
NoStderr,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Error)]
|
||||
@@ -83,6 +86,9 @@ pub enum ServerError {
|
||||
#[error("Failed to access child stdin pipe")]
|
||||
NoStdinPipe,
|
||||
|
||||
#[error("Failed to access child stderr pipe")]
|
||||
NoStderrPipe,
|
||||
|
||||
#[error("Failed to write to stdin")]
|
||||
StdinWriteFailed,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user