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)
Creates a UnexpectedEndOfInputInGroupError.
public UnexpectedEndOfInputInGroupError(string groupName)
Parameters
groupNamestringThe value of
groupName.
Exceptions
- ArgumentNullException
groupNameis null.
Properties
GroupName
The name of the group that was left open at the time input ended.
public string GroupName { get; }
Property Value
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
formatstringThe format to use.
-or-
A null reference (
Nothingin Visual Basic) to use the default format defined for the type of the IFormattable implementation.formatProviderIFormatProviderThe provider to use to format the value.
-or-
A null reference (
Nothingin 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.