Class BaseError
Base error information
Inheritance
System.Object
BaseError
Namespace: PnP.Core
Assembly: PnP.Core.dll
Syntax
public abstract class BaseError : object
Constructors
BaseError(ErrorType)
Default base constructor/>
Declaration
public BaseError(ErrorType type)
Parameters
ErrorType
type
Type of the error |
Properties
AdditionalData
Additional data linked to an error
Declaration
public IDictionary<string, object> AdditionalData { get; }
Property Value
IDictionary<System.String, System.Object>
|
PnPCorrelationId
Correlation for a PnP Core SDK operation
Declaration
public Guid PnPCorrelationId { get; }
Property Value
Guid
|
Type
Methods
AddAdditionalData(String, Object)
Adds additional error data to this error as property/value pairs
Declaration
protected void AddAdditionalData(string propertyName, object propertyValue)
Parameters
System.String
propertyName
Property to add |
System.Object
propertyValue
Value to add |