<!-- Generated by tools/SharpCell.Docs from the XML documentation comments. Do not edit; run the tool with 'generate'. -->

# DiagnosticKind

```csharp
public enum DiagnosticKind
```

Namespace `SharpCell` · package `SharpCell`

What a [CalculationDiagnostic](SharpCell.CalculationDiagnostic.md) reports.

## Values

| Name | Value | Description |
|---|---|---|
| <a id="circularreference"></a>`CircularReference` | 0 | Cells reference each other in a loop; every cell in the loop got 0. |
| <a id="functionfailure"></a>`FunctionFailure` | 1 | A function failed unexpectedly; the cell got `#VALUE!`. |
| <a id="unsupportedformula"></a>`UnsupportedFormula` | 2 | A formula uses something SharpCell cannot evaluate, such as a function it does not know or (in a file) a link to another workbook; the cell got `#NAME?`. |
| <a id="limitexceeded"></a>`LimitExceeded` | 3 | A result was larger than a limit allows, such as the cells all spills of a workbook may cover together; the cell got an error. |
| <a id="customfunctionfailure"></a>`CustomFunctionFailure` | 4 | A function added through [Workbook.Functions](SharpCell.Workbook.md#functions) threw an exception; the cell got `#VALUE!`. The message names the function and the exception. |
| <a id="iterationlimitreached"></a>`IterationLimitReached` | 5 | With [Workbook.Iteration](SharpCell.Workbook.md#iteration) enabled, a circular reference did not settle within [IterationSettings.MaxIterations](SharpCell.IterationSettings.md#maxiterations) passes; its cells keep their last values. |
