Class AlangFormatException
Represents an exception that is thrown when an error occurs during parsing of Alang expressions.
Implements
Inherited Members
Namespace: Automata.Core.Alang
Assembly: Automata.Core.dll
Syntax
[Serializable]
public class AlangFormatException : Exception, ISerializable
Remarks
Provides detailed information about the parsing error, including the index in the input where the error occurred and the specific type of error.
Constructors
| Edit this page View SourceAlangFormatException(int, ParseErrorType, string)
Initializes a new instance of the AlangFormatException class with the specified error index, error type, and message.
Declaration
public AlangFormatException(int index, ParseErrorType ErrorType, string message)
Parameters
Type | Name | Description |
---|---|---|
int | index | Index in the input string where the parsing error occurred. |
ParseErrorType | ErrorType | Type of parsing error that occurred. |
string | message | Error message that explains the reason for the exception. |
Fields
| Edit this page View SourceErrorType
Type of parsing error that occurred.
Declaration
public readonly ParseErrorType ErrorType
Field Value
Type | Description |
---|---|
ParseErrorType |
Index
Index in the input string where the parsing error occurred.
Declaration
public readonly int Index
Field Value
Type | Description |
---|---|
int |