# Class QuotaError (1.20.0)

1.20.0 (latest) 1.19.0 1.18.0 1.17.0 1.16.0 1.15.0 1.14.0 1.13.1 1.12.3 1.11.1 1.10.0 1.9.1 1.8.1 1.7.1 1.6.0 1.5.3 1.4.2 1.3.1 1.2.1 1.1.0 1.0.3 0.3.0 0.2.0 0.1.0

    QuotaError(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Represents error information for
`QuotaOperation][google.api.servicecontrol.v1.QuotaOperation]`.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `code` | `https://docs.cloud.google.com/python/docs/reference/servicecontrol/latest/google.cloud.servicecontrol_v1.types.QuotaError.Code` Error code. |
| `subject` | `str` Subject to whom this error applies. See the specific enum for more details on this field. For example, "clientip: |
| `description` | `str` Free-form text that provides details on the cause of the error. |
| `status` | `google.rpc.status_pb2.Status` Contains additional information about the quota error. If available, `status.code` will be non zero. |

## Classes

### Code

    Code(value)

Error codes related to project config validations are deprecated
since the quota controller methods do not perform these validations.
Instead services have to call the Check method, without
quota_properties field, to perform these validations before calling
the quota controller methods. These methods check only for project
deletion to be wipe out compliant.