ErrorResponse Struct
Abblix.Oidc.Server
Abblix.Oidc.Server.Model
ErrorResponse Struct
Represents a standardized error response, commonly used in web APIs and OAuth2/OpenID Connect protocols.
public readonly record struct ErrorResponse : System.IEquatable<Abblix.Oidc.Server.Model.ErrorResponse>
Implements System.IEquatable<ErrorResponse>
Constructors
ErrorResponse(string, string) Constructor
Represents a standardized error response, commonly used in web APIs and OAuth2/OpenID Connect protocols.
public ErrorResponse(string Error, string ErrorDescription);
Parameters
Error System.String
ErrorDescription System.String
Properties
ErrorResponse.Error Property
The error code representing the specific type of error encountered. This is a single ASCII error code from the predefined set of OAuth2/OpenID Connect standard codes.
public string Error { get; init; }
Property Value
ErrorResponse.ErrorDescription Property
A human-readable text providing additional information about the error. This description is meant to aid in diagnosing the error and is not intended for displaying to end-users.
public string ErrorDescription { get; init; }