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?)
Creates a new OpenIddictExceptions.ProtocolException.
public ProtocolException(string? message)
Parameters
messagestringThe exception message.
ProtocolException(string?, string?)
Creates a new OpenIddictExceptions.ProtocolException.
public ProtocolException(string? message, string? error)
Parameters
ProtocolException(string?, string?, string?)
Creates a new OpenIddictExceptions.ProtocolException.
public ProtocolException(string? message, string? error, string? description)
Parameters
messagestringThe exception message.
errorstringThe error type.
descriptionstringThe error description.
ProtocolException(string?, string?, string?, string?)
Creates a new OpenIddictExceptions.ProtocolException.
public ProtocolException(string? message, string? error, string? description, string? uri)
Parameters
messagestringThe exception message.
errorstringThe error type.
descriptionstringThe error description.
uristringThe error URI.
Properties
Error
Gets the error type.
public string? Error { get; }
Property Value
ErrorDescription
Gets the error description.
public string? ErrorDescription { get; }
Property Value
ErrorUri
Gets the error URI.
public string? ErrorUri { get; }