Class RequestError

public class RequestError : object

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
TypeDescription
Int32

ErrorResponseContent

public string ErrorResponseContent { get; set; }

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

Property Value
TypeDescription
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
TypeDescription
IList<SingleError>

Message

public string Message { get; set; }

The error message returned

Property Value
TypeDescription
String

Methods

ToString()

public override string ToString()

Returns a string summary of this error

Returns
TypeDescription
String

A string summary of this error

Extension Method