mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-11-03 18:02:26 -06:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			326 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			326 B
		
	
	
	
		
			Go
		
	
	
	
	
	
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")
 | 
						|
)
 |