1
0
httpprocprobed/prog/errors.go

13 lines
392 B
Go

package prog
import "errors"
// ErrPgrepNotFound occurs when pgrep program is not found.
var ErrPgrepNotFound = errors.New("pgrep not found")
// ErrNotFound occurs when a process is not presented in a list
var ErrNotFound = errors.New("process is not on list")
// ErrIsOnList occurs when a process is already presented in a list
var ErrIsOnList = errors.New("process is already on list")