// ------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information. // ------------------------------------------------------------------------------ namespace Microsoft.Graph { using System.Collections.Generic; using Newtonsoft.Json; /// /// The error response object from the service on an unsuccessful call. /// [JsonObject(MemberSerialization = MemberSerialization.OptIn)] public class ErrorResponse { /// /// The returned by the service. /// [JsonProperty(PropertyName = "error")] public Error Error { get; set; } /// /// Additional data returned in the call. /// [JsonExtensionData(ReadData = true)] public IDictionary AdditionalData { get; set; } } }