Class CsomError
Csom service error
public class CsomError : ServiceError
- Inheritance
-
CsomError
- Inherited Members
Constructors
CsomError(ErrorType, int, JsonElement)
Default constructor for the SharePointRestError error
public CsomError(ErrorType type, int httpResponseCode, JsonElement errorJson)
Parameters
typeErrorTypeErrorType type of the error
httpResponseCodeintHttp response code of the service request that failed
errorJsonJsonElementJson containing the error information
Properties
ServerErrorCode
SharePoint server error code
public long ServerErrorCode { get; }
Property Value
Methods
ToString()
Outputs a CsomError to a string representation
public override string ToString()
Returns
- string
String representation