TapeParseException
Namespace: Hex1b.Automation
Assembly: Hex1b.dll
Indicates that Tape source contains syntax errors.
csharp
public sealed class TapeParseException : Exception, ISerializableInheritance
Object → Exception → TapeParseException
Implements
Constructors
TapeParseException(IEnumerable<TapeDiagnostic>)
Creates an exception with an immutable diagnostic snapshot.
Parameters:
diagnostics(IEnumerable<TapeDiagnostic>): The parsing diagnostics.
csharp
public TapeParseException(IEnumerable<TapeDiagnostic> diagnostics)Properties
Diagnostics
Gets all diagnostics from the failed parse.
Returns: IReadOnlyList<TapeDiagnostic>
csharp
public IReadOnlyList<TapeDiagnostic> Diagnostics { get; }