Class ErrorController
Implements
Inherited Members
Namespace: Volo.Abp.Account.Web.Areas.Account.Controllers
Assembly: Volo.Abp.Account.Pro.Public.Web.IdentityServer.dll
Syntax
[Area("account")]
public class ErrorController : AbpController, IActionFilter, IAsyncActionFilter, IFilterMetadata, IDisposable, IAvoidDuplicateCrossCuttingConcerns
Constructors
ErrorController(IIdentityServerInteractionService, IWebHostEnvironment, IOptions<AbpErrorPageOptions>)
Declaration
public ErrorController(IIdentityServerInteractionService interaction, IWebHostEnvironment environment, IOptions<AbpErrorPageOptions> abpErrorPageOptions)
Parameters
| Type | Name | Description |
|---|---|---|
| IIdentityServerInteractionService | interaction | |
| IWebHostEnvironment | environment | |
| IOptions<AbpErrorPageOptions> | abpErrorPageOptions |
Methods
GetErrorPageUrl(int)
Declaration
protected virtual string GetErrorPageUrl(int statusCode)
Parameters
| Type | Name | Description |
|---|---|---|
| int | statusCode |
Returns
| Type | Description |
|---|---|
| string |
Index(string)
Declaration
public virtual Task<IActionResult> Index(string errorId)
Parameters
| Type | Name | Description |
|---|---|---|
| string | errorId |
Returns
| Type | Description |
|---|---|
| Task<IActionResult> |