# Class CheckError (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

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

Defines the errors to be returned in
`google.api.servicecontrol.v1.CheckResponse.check_errors][google.api.servicecontrol.v1.CheckResponse.check_errors]`.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `code` | `https://docs.cloud.google.com/python/docs/reference/servicecontrol/latest/google.cloud.servicecontrol_v1.types.CheckError.Code` The error code. |
| `subject` | `str` Subject to whom this error applies. See the specific code enum for more details on this field. For example: - "project: |
| `detail` | `str` Free-form text providing details on the error cause of the error. |
| `status` | `google.rpc.status_pb2.Status` Contains public information about the check error. If available, `status.code` will be non zero and client can propagate it out as public error. |

## Classes

### Code

    Code(value)

Error codes for Check responses.