1.73.0 (latest) 1.69.0 1.68.0 1.60.0 1.59.0 1.55.0 1.50.0

    public class RequestError

Collection of server errors

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> RequestError

## Inherited Members

[object.Equals(object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)) [object.Equals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)) [object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ReferenceEquals(object, object)](https://learn.microsoft.com/dotnet/api/system.object.referenceequals)

## Namespace

[Google.Apis.Requests](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Requests.md.txt)

## Assembly

Google.Apis.Core.dll

## Properties

### Code

    public int Code { get; set; }

The error code returned

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### ErrorResponseContent

    public string ErrorResponseContent { get; set; }

The full content of the error response that
this instance was created from.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

**Remarks** The response may contain custom information that is not represented
by any of the properties in [RequestError](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Requests.RequestError.md.txt).

### Errors

    public IList<SingleError> Errors { get; set; }

Contains a list of all errors

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `IListSingleError` |   |

### Message

    public string Message { get; set; }

The error message returned

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

## Methods

### ToString()

    public override string ToString()

Returns a string summary of this error

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` | A string summary of this error |

**Overrides** [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Extension Method

[Utilities.ThrowIfNull\<T\>(T, string)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Apis/latest/Google.Apis.Util.Utilities.md.txt#Google_Apis_Util_Utilities_ThrowIfNull__1___0_System_String_)