Class FieldErrors
The result text Word substitutes for a field it cannot evaluate. These strings are part of the rendered document, not diagnostics, so they are reproduced literally.
public static class FieldErrors
- Inheritance
-
FieldErrors
- Inherited Members
Fields
- NotANumber
A number was expected and something else was found.
- SyntaxError
The instruction could not be parsed.
- TooComplex
An expression exceeded the supported nesting depth.
- UndefinedBookmark
A referenced bookmark does not exist.
- ZeroDivide
A division by zero was attempted.
Methods
- Bookmark(string?)
Formats an undefined-bookmark error naming the bookmark, as Word does.
- IsError(string?)
Returns whether a result string is one of the error texts above.
- Syntax(string?)
Formats a syntax error naming the offending token, as Word does.