github.com/ssdev-go/moby@v17.12.1-ce-rc2+incompatible/daemon/graphdriver/quota/errors.go (about)

     1  package quota
     2  
     3  import "github.com/docker/docker/api/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  }