BetterFinds
Public Member Functions | Properties | List of all members
BetterFinds.Pages.ErrorModel Class Reference

Model for the Error page. This class is decorated with the ResponseCache and IgnoreAntiforgeryToken attributes. More...

Inheritance diagram for BetterFinds.Pages.ErrorModel:
Inheritance graph
[legend]
Collaboration diagram for BetterFinds.Pages.ErrorModel:
Collaboration graph
[legend]

Public Member Functions

void OnGet ()
 Shows the error page. More...
 

Properties

string? RequestId [get, set]
 The request ID. More...
 
bool ShowRequestId [get]
 A boolean indicating whether or not the request ID should be shown. More...
 

Detailed Description

Model for the Error page. This class is decorated with the ResponseCache and IgnoreAntiforgeryToken attributes.

Member Function Documentation

◆ OnGet()

void BetterFinds.Pages.ErrorModel.OnGet ( )
inline

Shows the error page.

This page shows the error page with the request ID, if available. Used to present the error page with diagnostics when an error occurs.

Property Documentation

◆ RequestId

string? BetterFinds.Pages.ErrorModel.RequestId
getset

The request ID.

◆ ShowRequestId

bool BetterFinds.Pages.ErrorModel.ShowRequestId
get

A boolean indicating whether or not the request ID should be shown.


The documentation for this class was generated from the following file: