2022-01-02 02:56:46 +04:00
|
|
|
package prog
|
2021-12-24 23:28:50 +04:00
|
|
|
|
|
|
|
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")
|