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
message
stringThe 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
message
stringThe exception message.
error
stringThe error type.
description
stringThe error description.
ProtocolException(string?, string?, string?, string?)
Creates a new OpenIddictExceptions.ProtocolException.
public ProtocolException(string? message, string? error, string? description, string? uri)
Parameters
message
stringThe exception message.
error
stringThe error type.
description
stringThe error description.
uri
stringThe 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; }