blob: 979bd39377b1b83c9c70da0a50824ae858a5ae33 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
package memlimit
import (
"errors"
)
var (
// ErrNoCgroup is returned when the process is not in cgroup.
ErrNoCgroup = errors.New("process is not in cgroup")
// ErrCgroupsNotSupported is returned when the system does not support cgroups.
ErrCgroupsNotSupported = errors.New("cgroups is not supported on this system")
)
|