github.com/pwn-term/docker@v0.0.0-20210616085119-6e977cce2565/moby/quota/errors.go (about) 1 package quota // import "github.com/docker/docker/quota" 2 3 import "github.com/docker/docker/errdefs" 4 5 var ( 6 _ errdefs.ErrNotImplemented = (*errQuotaNotSupported)(nil) 7 ) 8 9 // ErrQuotaNotSupported indicates if were found the FS didn't have projects quotas available 10 var ErrQuotaNotSupported = errQuotaNotSupported{} 11 12 type errQuotaNotSupported struct { 13 } 14 15 func (e errQuotaNotSupported) NotImplemented() {} 16 17 func (e errQuotaNotSupported) Error() string { 18 return "Filesystem does not support, or has not enabled quotas" 19 }