Class CsomError
Csom service error
Inherited Members
Namespace: PnP.Core
Assembly: PnP.Core.dll
Syntax
public class CsomError : ServiceError
Constructors
CsomError(ErrorType, Int32, JsonElement)
Default constructor for the SharePointRestError error
Declaration
public CsomError(ErrorType type, int httpResponseCode, JsonElement errorJson)
Parameters
ErrorType
type
ErrorType type of the error |
System.Int32
httpResponseCode
Http response code of the service request that failed |
JsonElement
errorJson
Json containing the error information |
Properties
ServerErrorCode
SharePoint server error code
Declaration
public long ServerErrorCode { get; }
Property Value
System.Int64
|
Methods
ToString()
Outputs a CsomError to a string representation
Declaration
public override string ToString()
Returns
System.String
String representation |