Class ServiceError
Error information for a service error
public class ServiceError : BaseError
- Inheritance
-
ServiceError
- Derived
- Inherited Members
Constructors
ServiceError(ErrorType, int)
ServiceError constructor using error type and http response code to create a backend service request error
public ServiceError(ErrorType type, int httpResponseCode)
Parameters
Properties
ClientRequestId
Client request id header returned in the response.
public string ClientRequestId { get; }
Property Value
Code
Graph error code
public string Code { get; }
Property Value
HttpResponseCode
Http response code that was linked to the service error
public int HttpResponseCode { get; }
Property Value
Message
Error message that was linked to the service error
public string Message { get; }