github.com/lacework-dev/go-moby@v20.10.12+incompatible/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  }