Class ServiceError
Error information for a service error
Inherited Members
Namespace: PnP.Core
Assembly: PnP.Core.dll
Syntax
public class ServiceError : BaseError
Constructors
ServiceError(ErrorType, Int32)
ServiceError constructor using error type and http response code to create a backend service request error
Declaration
public ServiceError(ErrorType type, int httpResponseCode)
Parameters
ErrorType
type
Type of the error |
System.Int32
httpResponseCode
Http response code of the error |
Properties
ClientRequestId
Client request id header returned in the response.
Declaration
public string ClientRequestId { get; }
Property Value
System.String
|
Code
Graph error code
Declaration
public string Code { get; }
Property Value
System.String
|
HttpResponseCode
Http response code that was linked to the service error
Declaration
public int HttpResponseCode { get; }
Property Value
System.Int32
|
Message
Error message that was linked to the service error
Declaration
public string Message { get; }
Property Value
System.String
|