Method ErrorCodes
ErrorCodes(IdentityResult)
Retrieves all error codes from the Microsoft.AspNetCore.Identity.IdentityResult as a list.
Declaration
public static IList<string> ErrorCodes(this IdentityResult result)
Parameters
| Type |
Name |
Description |
| Microsoft.AspNetCore.Identity.IdentityResult |
result |
The Microsoft.AspNetCore.Identity.IdentityResult instance to extract error codes from. |
Returns
| Type |
Description |
| System.Collections.Generic.IList<String> |
List of all non-empty error codes from the provided result. |