Table of Contents

Class ParserEmbeddedCodeTransformationException

Namespace
Utils.Parser.Expressions
Assembly
Utils.Parser.Expressions.dll

Exception thrown when an embedded-code transformer reports an error before dynamic expression compilation.

public sealed class ParserEmbeddedCodeTransformationException : ParserEmbeddedCodeTransformationException, ISerializable
Inheritance
ParserEmbeddedCodeTransformationException
Implements
Inherited Members
Extension Methods

Constructors

ParserEmbeddedCodeTransformationException(string)

Initializes a new transformation exception.

public ParserEmbeddedCodeTransformationException(string message)

Parameters

message string

Transformation diagnostic message.

ParserEmbeddedCodeTransformationException(string, string?, string?, ParserEmbeddedCodeTransformationPath, ParserEmbeddedCodeLocation, string?, string?, SourceSpan?, Exception?)

Initializes a new transformation exception from the shared structured transformation failure.

public ParserEmbeddedCodeTransformationException(string message, string? diagnosticCode, string? diagnosticMessage, ParserEmbeddedCodeTransformationPath path, ParserEmbeddedCodeLocation location, string? grammarName, string? ruleName, SourceSpan? span, Exception? innerException = null)

Parameters

message string

Stable failure message.

diagnosticCode string

Diagnostic code when available.

diagnosticMessage string

Diagnostic message when available.

path ParserEmbeddedCodeTransformationPath

Transformation path that requested the embedded-code transformation.

location ParserEmbeddedCodeLocation

Embedded-code location being transformed.

grammarName string

Owning grammar name when available.

ruleName string

Owning rule name when available.

span SourceSpan

Source span when available.

innerException Exception

Original transformer exception when available.