# GrapeCity.ActiveReports.Blazor.Viewer.ReportViewer.Error

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_ActiveReports_Blazor_Viewer_ReportViewer_Error_" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.ReportViewer.Error*">Error Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_ActiveReports_Blazor_Viewer_ReportViewer_Error_" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.ReportViewer.Error*"></a>
<h4 id="GrapeCity_ActiveReports_Blazor_Viewer_ReportViewer_Error" data-uid="GrapeCity.ActiveReports.Blazor.Viewer.ReportViewer.Error">Error</h4>
<div class="markdown level1 summary"><p>Gets or sets the callback invoked when an error occurs during the process of displaying the report.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">[Parameter]
public Action&lt;ErrorInfo&gt; Error { get; init; }</code></pre>
</div>
<h5 class="propertyValue">Property Value</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.action-1">Action</a>&lt;<a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.ErrorInfo.html">ErrorInfo</a>&gt;</td>
      <td><p>A callback function that takes an <a class="xref" href="GrapeCity.ActiveReports.Blazor.Viewer.ErrorInfo.html">ErrorInfo</a> object.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="GrapeCity_ActiveReports_Blazor_Viewer_ReportViewer_Error_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>This property can only be set once during object initialization and cannot be changed afterwards.</p>
</div>
</div>
