# GrapeCity.Viewer.Common.Model.ErrorInfo

## Content

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



  <h1 id="GrapeCity_Viewer_Common_Model_ErrorInfo" data-uid="GrapeCity.Viewer.Common.Model.ErrorInfo" class="text-break">ErrorInfo Struct
</h1>
  <div class="markdown level0 summary"><p>Represents information about errors or exceptions.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="GrapeCity.Viewer.Common.Model.html">GrapeCity.Viewer.Common.Model</a></h6>
  <h6><strong>Assembly</strong>: MESCIUS.ActiveReports.Viewer.Common.dll</h6>
  <h5 id="GrapeCity_Viewer_Common_Model_ErrorInfo_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public struct ErrorInfo</code></pre>
  </div>
  <h5 id="GrapeCity_Viewer_Common_Model_ErrorInfo_remarks"><strong>Remarks</strong></h5>
  <div class="markdown level0 remarks"><p>This structure is used to encapsulate detailed information about errors or exceptions, including their severity level, the exception
object itself (if any), and additional error information or details. It is primarily used for error handling and reporting within the application.</p>
</div>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Viewer_Common_Model_ErrorInfo__ctor_GrapeCity_Viewer_Common_Model_ErrorInfo_Level_System_String_" data-uid="GrapeCity.Viewer.Common.Model.ErrorInfo.#ctor(GrapeCity.Viewer.Common.Model.ErrorInfo.Level,System.String)">
          <a class="xref" href="GrapeCity.Viewer.Common.Model.ErrorInfo.-ctor.html#GrapeCity_Viewer_Common_Model_ErrorInfo__ctor_GrapeCity_Viewer_Common_Model_ErrorInfo_Level_System_String_">ErrorInfo(Level, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Viewer.Common.Model.ErrorInfo.html">ErrorInfo</a> struct with a level, information, and detail.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Viewer_Common_Model_ErrorInfo__ctor_GrapeCity_Viewer_Common_Model_ErrorInfo_Level_System_String_System_String_" data-uid="GrapeCity.Viewer.Common.Model.ErrorInfo.#ctor(GrapeCity.Viewer.Common.Model.ErrorInfo.Level,System.String,System.String)">
          <a class="xref" href="GrapeCity.Viewer.Common.Model.ErrorInfo.-ctor.html#GrapeCity_Viewer_Common_Model_ErrorInfo__ctor_GrapeCity_Viewer_Common_Model_ErrorInfo_Level_System_String_System_String_">ErrorInfo(Level, string, string)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Viewer.Common.Model.ErrorInfo.html">ErrorInfo</a> struct with a level and information.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Viewer_Common_Model_ErrorInfo__ctor_System_Exception_" data-uid="GrapeCity.Viewer.Common.Model.ErrorInfo.#ctor(System.Exception)">
          <a class="xref" href="GrapeCity.Viewer.Common.Model.ErrorInfo.-ctor.html#GrapeCity_Viewer_Common_Model_ErrorInfo__ctor_System_Exception_">ErrorInfo(Exception)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="GrapeCity.Viewer.Common.Model.ErrorInfo.html">ErrorInfo</a> struct with an exception.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="GrapeCity_Viewer_Common_Model_ErrorInfo_Detail" data-uid="GrapeCity.Viewer.Common.Model.ErrorInfo.Detail">
          <a class="xref" href="GrapeCity.Viewer.Common.Model.ErrorInfo.Detail.html#GrapeCity_Viewer_Common_Model_ErrorInfo_Detail">Detail</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating the detailed error information.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Viewer_Common_Model_ErrorInfo_Exception" data-uid="GrapeCity.Viewer.Common.Model.ErrorInfo.Exception">
          <a class="xref" href="GrapeCity.Viewer.Common.Model.ErrorInfo.Exception.html#GrapeCity_Viewer_Common_Model_ErrorInfo_Exception">Exception</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating the exception associated with the error, if any.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Viewer_Common_Model_ErrorInfo_Info" data-uid="GrapeCity.Viewer.Common.Model.ErrorInfo.Info">
          <a class="xref" href="GrapeCity.Viewer.Common.Model.ErrorInfo.Info.html#GrapeCity_Viewer_Common_Model_ErrorInfo_Info">Info</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating the general error information.</p>
</td>
      </tr>
      <tr>
        <td id="GrapeCity_Viewer_Common_Model_ErrorInfo_Severity" data-uid="GrapeCity.Viewer.Common.Model.ErrorInfo.Severity">
          <a class="xref" href="GrapeCity.Viewer.Common.Model.ErrorInfo.Severity.html#GrapeCity_Viewer_Common_Model_ErrorInfo_Severity">Severity</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating the severity level of the error.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
