MrKWatkins.Ast 0.9.132 Help

MessageFormatter.FormatErrors Method

Definition

Lazily enumerates over all Errors in the specified node.

public static IEnumerable<string> FormatErrors<TNode>(Node<TNode> node, MessageFormatterOptions? options = null) where TNode : Node<TNode>;

Type Parameters

Name

Description

TNode

The type of the node.

Parameters

Name

Type

Description

node

Node<TNode>

The node.

options

MessageFormatterOptions

The MessageFormatterOptions to use. If not specified then Default is used.

Returns

IEnumerable<String>

A lazy enumeration of formatted errors.

Last modified: 12 August 2025