Searched refs:ProcessWrapperError (Results 1 – 1 of 1) sorted by relevance
54 struct ProcessWrapperError(String); struct56 impl fmt::Display for ProcessWrapperError { implementation62 impl std::error::Error for ProcessWrapperError {} implementation64 fn main() -> Result<(), ProcessWrapperError> { in main()65 let opts = options().map_err(|e| ProcessWrapperError(e.to_string()))?; in main()77 .map_err(|e| ProcessWrapperError(format!("unable to open stdout file: {}", e)))? in main()84 .map_err(|e| ProcessWrapperError(format!("failed to spawn child process: {}", e)))?; in main()93 .map_err(|e| ProcessWrapperError(format!("unable to open stderr file: {}", e)))?, in main()99 let mut child_stderr = child.stderr.take().ok_or(ProcessWrapperError( in main()110 .map_err(|e| ProcessWrapperError(format!("Unable to open output_file: {}", e)))?, in main()[all …]