#### [Abblix\.Oidc\.Server](https://www.abblix.com/en/docs/api/abblix-oidc-server 'index')
### [Abblix\.Oidc\.Server\.Model](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Model 'Abblix\.Oidc\.Server\.Model')

## ErrorResponse Struct

Represents a standardized error response, commonly used in web APIs and OAuth2/OpenID Connect protocols\.

```csharp
public readonly record struct ErrorResponse : System.IEquatable<Abblix.Oidc.Server.Model.ErrorResponse>
```

Implements [System\.IEquatable&lt;](https://learn.microsoft.com/en-us/dotnet/api/system.iequatable-1 'System\.IEquatable\`1')[ErrorResponse](https://www.abblix.com/en/docs/api/abblix-oidc-server/Abblix.Oidc.Server.Model.ErrorResponse 'Abblix\.Oidc\.Server\.Model\.ErrorResponse')[&gt;](https://learn.microsoft.com/en-us/dotnet/api/system.iequatable-1 'System\.IEquatable\`1')
### Constructors

## ErrorResponse\(string, string\) Constructor {#Abblix.Oidc.Server.Model.ErrorResponse.ErrorResponse(string,string)}

Represents a standardized error response, commonly used in web APIs and OAuth2/OpenID Connect protocols\.

```csharp
public ErrorResponse(string Error, string ErrorDescription);
```
#### Parameters

###### `Error` [System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String') {#Abblix.Oidc.Server.Model.ErrorResponse.ErrorResponse(string,string).Error}

###### `ErrorDescription` [System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String') {#Abblix.Oidc.Server.Model.ErrorResponse.ErrorResponse(string,string).ErrorDescription}
### Properties

## ErrorResponse\.Error Property {#Abblix.Oidc.Server.Model.ErrorResponse.Error}

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\.

```csharp
public string Error { get; init; }
```

#### Property Value
[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')

## ErrorResponse\.ErrorDescription Property {#Abblix.Oidc.Server.Model.ErrorResponse.ErrorDescription}

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\.

```csharp
public string ErrorDescription { get; init; }
```

#### Property Value
[System\.String](https://learn.microsoft.com/en-us/dotnet/api/system.string 'System\.String')
