Class RequestError
Collection of server errors
Inheritance
System.Object
RequestError
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.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 |
---|---|
System.Int32 |
ErrorResponseContent
The full content of the error response that this instance was created from.
Declaration
public string ErrorResponseContent { get; set; }
Property Value
Type | Description |
---|---|
System.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 |
---|---|
System.Collections.Generic.IList<SingleError> |
Message
The error message returned
Declaration
public string Message { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
ToString()
Returns a string summary of this error
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A string summary of this error |
Overrides
System.Object.ToString()