Skip to content

Node<TNode>.AddError Method ​

Overloads ​

NameDescription
AddError(String)Adds a Message with Level Error and the specified text to this node.
AddError(String, String)Adds a Message with Level Error and the specified text to this node.

AddError(String) ​

Adds a Message with Level Error and the specified text to this node.

c#
public void AddError(string text);

View source

Parameters ​

NameTypeDescription
textStringThe Text of the message.

AddError(String, String) ​

Adds a Message with Level Error and the specified text to this node.

c#
public void AddError(string code, string text);

View source

Parameters ​

NameTypeDescription
codeStringThe Code for the message.
textStringThe Text of the message.