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
messagestringTransformation 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
messagestringStable failure message.
diagnosticCodestringDiagnostic code when available.
diagnosticMessagestringDiagnostic message when available.
pathParserEmbeddedCodeTransformationPathTransformation path that requested the embedded-code transformation.
locationParserEmbeddedCodeLocationEmbedded-code location being transformed.
grammarNamestringOwning grammar name when available.
ruleNamestringOwning rule name when available.
spanSourceSpanSource span when available.
innerExceptionExceptionOriginal transformer exception when available.