< Summary

Information
Class: AspNetCoreGeneratedDocument.Views_Shared_Error
Assembly: ReportingServices.UI
File(s): C:\Users\wathen\source\repos\ReportingServices\ReportingServices.UI\Views\Shared\Error.cshtml
Line coverage
0%
Covered lines: 0
Uncovered lines: 5
Coverable lines: 5
Total lines: 25
Line coverage: 0%
Branch coverage
0%
Covered branches: 0
Total branches: 2
Branch coverage: 0%
Method coverage

Method coverage is only available for sponsors.

Upgrade to PRO version

Metrics

MethodBranch coverage Cyclomatic complexity Line coverage
ExecuteAsync()0%20%

File(s)

C:\Users\wathen\source\repos\ReportingServices\ReportingServices.UI\Views\Shared\Error.cshtml

#LineLine coverage
 1@model ErrorViewModel
 2@{
 03    ViewData["Title"] = "Error";
 4}
 5
 6<h1 class="text-danger">Error.</h1>
 7<h2 class="text-danger">An error occurred while processing your request.</h2>
 8
 09@if (Model.ShowRequestId)
 010{
 11    <p>
 012        <strong>Request ID:</strong> <code>@Model.RequestId</code>
 13    </p>
 014}
 15
 16<h3>Development Mode</h3>
 17<p>
 18    Swapping to <strong>Development</strong> environment will display more detailed information about the error that occ
 19</p>
 20<p>
 21    <strong>The Development environment shouldn't be enabled for deployed applications.</strong>
 22    It can result in displaying sensitive information from exceptions to end users.
 23    For local debugging, enable the <strong>Development</strong> environment by setting the <strong>ASPNETCORE_ENVIRONME
 24    and restarting the app.
 25</p>

Methods/Properties

ExecuteAsync()