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

# ErrorKinds

```csharp
public static class ErrorKinds
```

Namespace `SharpCell` · package `SharpCell`

Conversion between [ErrorKind](SharpCell.ErrorKind.md) and its literal text (`#DIV/0!`).

## Methods

<a id="totext-errorkind"></a>
### ToText(ErrorKind)

```csharp
public static string ToText(this ErrorKind kind)
```

The literal text of the error, such as `#DIV/0!`.

<a id="tryparse-readonlyspan-char-errorkind"></a>
### TryParse(ReadOnlySpan<char>, ErrorKind)

```csharp
public static bool TryParse(ReadOnlySpan<char> text, out ErrorKind kind)
```

Parses an error literal, ignoring case. The whole span must be the literal.
