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, int)
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 |
|
int
httpResponseCode
Http response code of the error |
Properties
ClientRequestId
Client request id header returned in the response.
Declaration
public string ClientRequestId { get; }
Property Value
| string |
Code
HttpResponseCode
Http response code that was linked to the service error
Declaration
public int HttpResponseCode { get; }
Property Value
| int |
Message
Error message that was linked to the service error
Declaration
public string Message { get; }
Property Value
| string |