Table of Contents

Class UnexpectedEndOfInputInGroupError

Namespace
Farkle.Diagnostics
Assembly
Farkle.dll

Contains information about a tokenizer error where input ended inside a group.

public sealed class UnexpectedEndOfInputInGroupError : ISpanFormattable, IFormattable
Inheritance
UnexpectedEndOfInputInGroupError
Implements

Constructors

UnexpectedEndOfInputInGroupError(string)

public UnexpectedEndOfInputInGroupError(string groupName)

Parameters

groupName string

The value of groupName.

Exceptions

ArgumentNullException

groupName is null.

Properties

GroupName

The name of the group that was left open at the time input ended.

public string GroupName { get; }

Property Value

string

Remarks

In case of nested groups, this property contains the name of the innermost group.

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

ToString(string?, IFormatProvider?)

Formats the value of the current instance using the specified format.

public string ToString(string? format, IFormatProvider? formatProvider)

Parameters

format string

The format to use.

-or-

A null reference (Nothing in Visual Basic) to use the default format defined for the type of the IFormattable implementation.

formatProvider IFormatProvider

The provider to use to format the value.

-or-

A null reference (Nothing in Visual Basic) to obtain the numeric format information from the current locale setting of the operating system.

Returns

string

The value of the current instance in the specified format.