mirror of
https://github.com/Ed1s0nZ/CyberStrikeAI.git
synced 2026-10-03 14:37:06 +02:00
Add files via upload
This commit is contained in:
10 files changed
+245
-19
No files matched your search
@@ -0,0 +1,15 @@
|
||||
package multiagent
|
||||
|
||||
import "fmt"
|
||||
|
||||
// ExecuteExitError 表示 execute 命令非零退出(预期失败,非超时/中断/流异常)。
|
||||
type ExecuteExitError struct {
|
||||
Code int
|
||||
}
|
||||
|
||||
func (e *ExecuteExitError) Error() string {
|
||||
if e == nil {
|
||||
return "exit status unknown"
|
||||
}
|
||||
return fmt.Sprintf("exit status %d", e.Code)
|
||||
}
|
||||
Reference in new issue
Block a user