Table of Contents

Class ParseError

Namespace
Rascal.Errors
Assembly
Rascal.dll

An error which represents a failure to parse something.

public sealed class ParseError : Error
Inheritance
ParseError
Inherited Members
Extension Methods

Constructors

ParseError(string, object?)

An error which represents a failure to parse something.

public ParseError(string message, object? source)

Parameters

message string

A message describing the failure.

source object

The optional object which was attempted to be parsed.

Properties

Message

The message used to display the error.

public override string Message { get; }

Property Value

string
An error which represents a failure to parse something.

Source

The optional object which was attempted to be parsed.

public object? Source { get; }

Property Value

object
An error which represents a failure to parse something.