github.com/demonoid81/moby@v0.0.0-20200517203328-62dd8e17c460/daemon/graphdriver/quota/errors.go (about)

     1  package quota // import "github.com/demonoid81/moby/daemon/graphdriver/quota"
     2  
     3  import "github.com/demonoid81/moby/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  }