# Class ScanRunErrorTrace (1.21.0)

1.21.0 (latest) 1.20.0 1.19.0 1.18.0 1.17.2 1.16.0 1.15.1 1.14.5 1.13.0 1.12.2 1.11.1 1.10.0 1.9.2 1.8.3 1.7.2 1.6.1 1.5.0 1.4.3 1.3.0 1.2.0 1.1.0 1.0.0 0.4.2 0.3.0

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

Output only.
Defines an error trace message for a ScanRun.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `code` | `https://docs.cloud.google.com/python/docs/reference/websecurityscanner/latest/google.cloud.websecurityscanner_v1beta.types.ScanRunErrorTrace.Code` Indicates the error reason code. |
| `scan_config_error` | `https://docs.cloud.google.com/python/docs/reference/websecurityscanner/latest/google.cloud.websecurityscanner_v1beta.types.ScanConfigError` If the scan encounters SCAN_CONFIG_ISSUE error, this field has the error message encountered during scan configuration validation that is performed before each scan run. |
| `most_common_http_error_code` | `int` If the scan encounters TOO_MANY_HTTP_ERRORS, this field indicates the most common HTTP error code, if such is available. For example, if this code is 404, the scan has encountered too many NOT_FOUND responses. |

## Classes

### Code

    Code(value)

Output only.
Defines an error reason code.
Next id: 7