1 Star 0 Fork 0

mirrors_back / mistifyio-go-zfs

Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
Clone or Download
error.go 368 Bytes
Copy Edit Raw Blame History
package zfs
import (
"fmt"
)
// Error is an error which is returned when the `zfs` or `zpool` shell
// commands return with a non-zero exit code.
type Error struct {
Err error
Debug string
Stderr string
}
// Error returns the string representation of an Error.
func (e Error) Error() string {
return fmt.Sprintf("%s: %q => %s", e.Err, e.Debug, e.Stderr)
}
1
https://gitee.com/mirrors_back/mistifyio-go-zfs.git
git@gitee.com:mirrors_back/mistifyio-go-zfs.git
mirrors_back
mistifyio-go-zfs
mistifyio-go-zfs
v2.1.1

Search