# Google API Common Protos Client - Class DebugInfo (4.14.0)

4.14.0 (latest) 4.13.0 4.12.5 4.11.0 4.10.0 4.9.0 4.8.3 Reference documentation and code samples for the Google API Common Protos Client class DebugInfo.

Describes additional debugging info.

Generated from protobuf message `google.rpc.DebugInfo`

## Namespace

Google \\ Rpc

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ stack_entries` | `string[]` The stack trace entries indicating where the error occurred. |
| `↳ detail` | `string` Additional debugging information provided by the server. |

### getStackEntries

The stack trace entries indicating where the error occurred.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setStackEntries

The stack trace entries indicating where the error occurred.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDetail

Additional debugging information provided by the server.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setDetail

Additional debugging information provided by the server.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |