github.com/khulnasoft-lab/khulnasoft@v26.0.1-0.20240328202558-330a6f959fe0+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 _ errdefs.ErrNotImplemented = (*errQuotaNotSupported)(nil)
     6  
     7  // ErrQuotaNotSupported indicates if were found the FS didn't have projects quotas available
     8  var ErrQuotaNotSupported = errQuotaNotSupported{}
     9  
    10  type errQuotaNotSupported struct{}
    11  
    12  func (e errQuotaNotSupported) NotImplemented() {}
    13  
    14  func (e errQuotaNotSupported) Error() string {
    15  	return "Filesystem does not support, or has not enabled quotas"
    16  }