Skip to content

TapeParseException

Namespace: Hex1b.Automation

Assembly: Hex1b.dll

Indicates that Tape source contains syntax errors.

csharp
public sealed class TapeParseException : Exception, ISerializable

Inheritance

ObjectExceptionTapeParseException

Implements

Constructors

TapeParseException(IEnumerable<TapeDiagnostic>)

Creates an exception with an immutable diagnostic snapshot.

Parameters:

csharp
public TapeParseException(IEnumerable<TapeDiagnostic> diagnostics)

Properties

Diagnostics

Gets all diagnostics from the failed parse.

Returns: IReadOnlyList<TapeDiagnostic>

csharp
public IReadOnlyList<TapeDiagnostic> Diagnostics { get; }

Released under the MIT License.