github.com/safing/portbase@v0.19.5/utils/osdetail/errors.go (about)

     1  package osdetail
     2  
     3  import "errors"
     4  
     5  var (
     6  	// ErrNotSupported is returned when an operation is not supported on the current platform.
     7  	ErrNotSupported = errors.New("not supported")
     8  	// ErrNotFound is returned when the desired data is not found.
     9  	ErrNotFound = errors.New("not found")
    10  	// ErrEmptyOutput is a special error that is returned when an operation has no error, but also returns to data.
    11  	ErrEmptyOutput = errors.New("command succeeded with empty output")
    12  )