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
-
objectEzrStackedSyntaxError
- 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
EzrSyntaxErrorThe 'parent' error, or the error that occurred first.
child
EzrSyntaxErrorThe '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.