Class BaseError
Base error information
public abstract class BaseError
- Inheritance
-
BaseError
- Derived
- Inherited Members
Constructors
BaseError(ErrorType)
Default base constructor/>
public BaseError(ErrorType type)
Parameters
typeErrorTypeType of the error
Properties
AdditionalData
Additional data linked to an error
public IDictionary<string, object> AdditionalData { get; }
Property Value
PnPCorrelationId
Correlation for a PnP Core SDK operation
public Guid PnPCorrelationId { get; }
Property Value
Type
ErrorType of the error
public ErrorType Type { get; }
Property Value
Methods
AddAdditionalData(string, object)
Adds additional error data to this error as property/value pairs
protected void AddAdditionalData(string propertyName, object propertyValue)