Class RequestError (1.68.0)

public class RequestError

Collection of server errors

Inheritance

object > RequestError

Namespace

Google.Apis.Requests

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.

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

Extension Method