Skip to content

PluginToolInputException

Class in Oadm.Sdk.Plugins · Oadm.Sdk.dll

Invalid arguments of a tool of PluginPageTools<TOwner>: one entry per field (its JSON name, nested with dots) with the page’s text (“Enter a name.”). The tool answers them as PluginToolErrors.Answer.

public sealed class PluginToolInputException : ArgumentException

Inherits ArgumentException

PluginToolInputException()

A refusal without fields.

PluginToolInputException(IEnumerable<KeyValuePair<string, string>> errors)

The fields and what to enter instead.

PluginToolInputException(string field, string error)

One field and what to enter instead.

PluginToolInputException(string message, Exception innerException)

A refusal with its own text and cause, without fields.

IReadOnlyList<KeyValuePair<string, string>> Errors { get; }

The fields and their texts.