Class ErrorController
Inheritance
System.Object
ErrorController
Assembly: Volo.Abp.Account.Web.IdentityServer.dll
Syntax
[Area("account")]
public class ErrorController : AbpController
Constructors
ErrorController(IIdentityServerInteractionService, IWebHostEnvironment, IOptions<AbpErrorPageOptions>)
Declaration
public ErrorController(IIdentityServerInteractionService interaction, IWebHostEnvironment environment, IOptions<AbpErrorPageOptions> abpErrorPageOptions)
Parameters
| Type |
Name |
Description |
| IIdentityServerInteractionService |
interaction |
|
| Microsoft.AspNetCore.Hosting.IWebHostEnvironment |
environment |
|
| Microsoft.Extensions.Options.IOptions<AbpErrorPageOptions> |
abpErrorPageOptions |
|
Methods
GetErrorPageUrl(Int32)
Declaration
protected virtual string GetErrorPageUrl(int statusCode)
Parameters
| Type |
Name |
Description |
| System.Int32 |
statusCode |
|
Returns
| Type |
Description |
| System.String |
|
Index(String)
Declaration
public virtual Task<IActionResult> Index(string errorId)
Parameters
| Type |
Name |
Description |
| System.String |
errorId |
|
Returns
| Type |
Description |
| System.Threading.Tasks.Task<Microsoft.AspNetCore.Mvc.IActionResult> |
|
Extension Methods