Table of Contents

Class OpenIddictExceptions.ProtocolException

Namespace
OpenIddict.Abstractions
Assembly
OpenIddict.Abstractions.dll

Represents an OpenIddict protocol exception.

public sealed class OpenIddictExceptions.ProtocolException : Exception, ISerializable
Inheritance
OpenIddictExceptions.ProtocolException
Implements
Inherited Members

Constructors

ProtocolException(string?)

public ProtocolException(string? message)

Parameters

message string

The exception message.

ProtocolException(string?, string?)

public ProtocolException(string? message, string? error)

Parameters

message string

The exception message.

error string

The error type.

ProtocolException(string?, string?, string?)

public ProtocolException(string? message, string? error, string? description)

Parameters

message string

The exception message.

error string

The error type.

description string

The error description.

ProtocolException(string?, string?, string?, string?)

public ProtocolException(string? message, string? error, string? description, string? uri)

Parameters

message string

The exception message.

error string

The error type.

description string

The error description.

uri string

The error URI.

Properties

Error

Gets the error type.

public string? Error { get; }

Property Value

string

ErrorDescription

Gets the error description.

public string? ErrorDescription { get; }

Property Value

string

ErrorUri

Gets the error URI.

public string? ErrorUri { get; }

Property Value

string