< Summary

Class:Microsoft.Azure.Graph.RBAC.Models.GraphErrorException
Assembly:Microsoft.Azure.Graph.RBAC
File(s):C:\Git\azure-sdk-for-net\sdk\graphrbac\Microsoft.Azure.Graph.RBAC\src\Generated\Models\GraphErrorException.cs
Covered lines:4
Uncovered lines:5
Coverable lines:9
Total lines:61
Line coverage:44.4% (4 of 9)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
get_Request()-0%100%
get_Response()-0%100%
get_Body()-0%100%
.ctor()-0%100%
.ctor(...)-100%100%
.ctor(...)-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\graphrbac\Microsoft.Azure.Graph.RBAC\src\Generated\Models\GraphErrorException.cs

#LineLine coverage
 1// <auto-generated>
 2// Copyright (c) Microsoft Corporation. All rights reserved.
 3// Licensed under the MIT License. See License.txt in the project root for
 4// license information.
 5//
 6// Code generated by Microsoft (R) AutoRest Code Generator.
 7// Changes may cause incorrect behavior and will be lost if the code is
 8// regenerated.
 9// </auto-generated>
 10
 11namespace Microsoft.Azure.Graph.RBAC.Models
 12{
 13    using Microsoft.Rest;
 14
 15    /// <summary>
 16    /// Exception thrown for an invalid response with GraphError information.
 17    /// </summary>
 18    public partial class GraphErrorException : RestException
 19    {
 20        /// <summary>
 21        /// Gets information about the associated HTTP request.
 22        /// </summary>
 023        public HttpRequestMessageWrapper Request { get; set; }
 24
 25        /// <summary>
 26        /// Gets information about the associated HTTP response.
 27        /// </summary>
 028        public HttpResponseMessageWrapper Response { get; set; }
 29
 30        /// <summary>
 31        /// Gets or sets the body object.
 32        /// </summary>
 033        public GraphError Body { get; set; }
 34
 35        /// <summary>
 36        /// Initializes a new instance of the GraphErrorException class.
 37        /// </summary>
 038        public GraphErrorException()
 39        {
 040        }
 41
 42        /// <summary>
 43        /// Initializes a new instance of the GraphErrorException class.
 44        /// </summary>
 45        /// <param name="message">The exception message.</param>
 46        public GraphErrorException(string message)
 447            : this(message, null)
 48        {
 449        }
 50
 51        /// <summary>
 52        /// Initializes a new instance of the GraphErrorException class.
 53        /// </summary>
 54        /// <param name="message">The exception message.</param>
 55        /// <param name="innerException">Inner exception.</param>
 56        public GraphErrorException(string message, System.Exception innerException)
 457            : base(message, innerException)
 58        {
 459        }
 60    }
 61}