Show / Hide Table of Contents

Class Error

Class for errors.

Inheritance
System.Object
Error
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: Microsoft.Graph.CoreSDK.Exceptions.Error
Assembly: Microsoft.Graph.CoreSDK.dll
Syntax
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
public class Error

Properties

View Source

AdditionalData

Gets or sets the additional data.

Declaration
[JsonExtensionData(ReadData = true)]
public IDictionary<string, object> AdditionalData { get; set; }
Property Value
Type Description
System.Collections.Generic.IDictionary<System.String, System.Object>

The additional data.

View Source

Code

Gets or sets the error code.

Declaration
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "code", Required = Required.Default)]
public string Code { get; set; }
Property Value
Type Description
System.String

The error code.

View Source

InnerError

Gets or sets the inner error.

Declaration
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "innererror", Required = Required.Default)]
public Error InnerError { get; set; }
Property Value
Type Description
Error

The inner error.

View Source

Message

Gets or sets the error message.

Declaration
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "message", Required = Required.Default)]
public string Message { get; set; }
Property Value
Type Description
System.String

The error message.

View Source

ThrowSite

Gets or sets the throw site.

Declaration
[JsonProperty(NullValueHandling = NullValueHandling.Ignore, PropertyName = "throwSite", Required = Required.Default)]
public string ThrowSite { get; set; }
Property Value
Type Description
System.String

The throw site.

Methods

View Source

ToString()

Returns a System.String that represents this instance.

Declaration
public override string ToString()
Returns
Type Description
System.String

A System.String that represents this instance.

Overrides
System.Object.ToString()
  • View Source
Back to top Generated by DocFX