# C1.Win.Input.ErrorReason

## Content

<div class="doc-site-dotnet-api-container">




  <h1 id="C1_Win_Input_ErrorReason" data-uid="C1.Win.Input.ErrorReason" class="text-break">ErrorReason Enum
</h1>
  <div class="markdown level0 summary"><p>Specifies the reason of the error.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Win.Input.html">C1.Win.Input</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.Input.10.dll</h6>
  <h5 id="C1_Win_Input_ErrorReason_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public enum ErrorReason</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Enum ErrorReason</code></pre>
  </div>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    <thead>
    </thead></thead><tbody>
      <tr>
        <td id="C1_Win_Input_ErrorReason_DataSourceError">DataSourceError</td>
        <td><p>Value rejected by the data source, setting the data source field to that value failed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_ErrorReason_EditMaskError">EditMaskError</td>
        <td><p>Value does not match the edit mask.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_ErrorReason_None">None</td>
        <td><p>All validation checks were successful.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_ErrorReason_ParsingError">ParsingError</td>
        <td><p>Parsing failed.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_ErrorReason_PostValidationError">PostValidationError</td>
        <td><p>Value rejected after parsing (in PostValidation).</p>
</td>
      </tr>
      <tr>
        <td id="C1_Win_Input_ErrorReason_PreValidationError">PreValidationError</td>
        <td><p>Value was rejected before parsing (in PreValidation).</p>
</td>
      </tr>
    </tbody>
  </table>
</div>
