# C1.ExpressionEditor.Engine.ScriptErrorInfo.-ctor

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_ExpressionEditor_Engine_ScriptErrorInfo__ctor_" data-uid="C1.ExpressionEditor.Engine.ScriptErrorInfo.#ctor*">ScriptErrorInfo Constructor
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_ExpressionEditor_Engine_ScriptErrorInfo__ctor_" data-uid="C1.ExpressionEditor.Engine.ScriptErrorInfo.#ctor*"></a>
<h4 id="C1_ExpressionEditor_Engine_ScriptErrorInfo__ctor_System_Int32_System_Int32_C1_ExpressionEditor_Engine_ErrorType_" data-uid="C1.ExpressionEditor.Engine.ScriptErrorInfo.#ctor(System.Int32,System.Int32,C1.ExpressionEditor.Engine.ErrorType)">ScriptErrorInfo(int, int, ErrorType)</h4>
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.ExpressionEditor.Engine.ScriptErrorInfo.html">ScriptErrorInfo</a> with the specified position, length and type of error.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public ScriptErrorInfo(int position, int length, ErrorType type)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Sub New(position As Integer, length As Integer, type As ErrorType)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">position</span></td>
      <td><p>The position of new error.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></td>
      <td><span class="parametername">length</span></td>
      <td><p>The length of new error.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="C1.ExpressionEditor.Engine.ErrorType.html">ErrorType</a></td>
      <td><span class="parametername">type</span></td>
      <td><p>The <a class="xref" href="C1.ExpressionEditor.Engine.ErrorType.html">ErrorType</a> of error.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
