0.5.3 (latest) 0.4.4 0.3.0 0.2.1 0.1.4 Reference documentation and code samples for the Google Cloud Api Hub V1 Client class ErrorCode.

The error codes for failed executions.

Protobuf type `google.cloud.apihub.v1.Curation.ErrorCode`

## Namespace

Google \\ Cloud \\ ApiHub \\ V1 \\ Curation

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### ERROR_CODE_UNSPECIFIED

    Value: 0

Default unspecified error code.

Generated from protobuf enum `ERROR_CODE_UNSPECIFIED = 0;`

### INTERNAL_ERROR

    Value: 1

The execution failed due to an internal error.

Generated from protobuf enum `INTERNAL_ERROR = 1;`

### UNAUTHORIZED

    Value: 2

The curation is not authorized to trigger the endpoint uri.

Generated from protobuf enum `UNAUTHORIZED = 2;`