errors.go 474 B

12345678910111213141516171819
  1. package quota
  2. import "github.com/docker/docker/errdefs"
  3. var (
  4. _ errdefs.ErrNotImplemented = (*errQuotaNotSupported)(nil)
  5. )
  6. // ErrQuotaNotSupported indicates if were found the FS didn't have projects quotas available
  7. var ErrQuotaNotSupported = errQuotaNotSupported{}
  8. type errQuotaNotSupported struct {
  9. }
  10. func (e errQuotaNotSupported) NotImplemented() {}
  11. func (e errQuotaNotSupported) Error() string {
  12. return "Filesystem does not support, or has not enabled quotas"
  13. }