Table of Contents

Class EzrStackedSyntaxError

Namespace
EzrSquared.Syntax.Errors
Assembly
ezrSquared-lib.dll

The EzrSyntaxError returned when multiple EzrSyntaxError objects need to be returned to the user.

internal class EzrStackedSyntaxError : EzrSyntaxError, IEzrError
Inheritance
object
EzrStackedSyntaxError
Implements
Inherited Members

Constructors

EzrStackedSyntaxError(EzrSyntaxError, EzrSyntaxError)

The EzrSyntaxError returned when multiple EzrSyntaxError objects need to be returned to the user.

public EzrStackedSyntaxError(EzrSyntaxError parent, EzrSyntaxError child)

Parameters

parent EzrSyntaxError

The 'parent' error, or the error that occurred first.

child EzrSyntaxError

The 'child' error, or the error that occurred because of the parent.

Methods

ToString()

Creates the formatted text representation of the EzrStackedSyntaxError, which shows all child EzrSyntaxError objects as the 'details'.

public override string ToString()

Returns

string

The formatted text.