Show / Hide Table of Contents

Class RequestError

Collection of server errors

Inheritance
object
RequestError
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: Google.Apis.Requests
Assembly: Google.Apis.Core.dll
Syntax
public class RequestError

Properties

Code

The error code returned

Declaration
public int Code { get; set; }
Property Value
Type Description
int

ErrorResponseContent

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

Declaration
public string ErrorResponseContent { get; set; }
Property Value
Type Description
string
Remarks

The response may contain custom information that is not represented by any of the properties in RequestError.

Errors

Contains a list of all errors

Declaration
public IList<SingleError> Errors { get; set; }
Property Value
Type Description
IList<SingleError>

Message

The error message returned

Declaration
public string Message { get; set; }
Property Value
Type Description
string

Methods

ToString()

Returns a string summary of this error

Declaration
public override string ToString()
Returns
Type Description
string

A string summary of this error

Overrides
object.ToString()

Extension Methods

Utilities.ThrowIfNull<T>(T, string)
In this article
Back to top Generated by DocFX