blob: 33c728fbfa5d8470e51c8e25964045b836a1c19f [file] [log] [blame]
package main
import (
"fmt"
)
// StatusError reports an unsuccessful exit by a command.
type StatusError struct {
Status string
StatusCode int
}
func (e StatusError) Error() string {
return fmt.Sprintf("Status: %s, Code: %d", e.Status, e.StatusCode)
}