27 lines
800 B
C#
27 lines
800 B
C#
// Copyright (c) .NET Foundation. All rights reserved.
|
|
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
|
|
|
|
namespace Microsoft.AspNetCore.Identity
|
|
{
|
|
/// <summary>
|
|
/// Encapsulates an error from the identity subsystem.
|
|
/// </summary>
|
|
public class IdentityError
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the code for this error.
|
|
/// </summary>
|
|
/// <value>
|
|
/// The code for this error.
|
|
/// </value>
|
|
public string Code { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the description for this error.
|
|
/// </summary>
|
|
/// <value>
|
|
/// The description for this error.
|
|
/// </value>
|
|
public string Description { get; set; }
|
|
}
|
|
} |