Search Results for

    Show / Hide Table of Contents

    Class BaseError

    Base error information

    Inheritance
    System.Object
    BaseError
    AuthenticationError
    ClientError
    ServiceError
    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

    ErrorType of the error

    Declaration
    public ErrorType Type { get; }
    Property Value
    ErrorType

    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

    Back to top PnP Core SDK
    Generated by DocFX with Material UI
    spacer