Class SqlNodeMutatorException
- Namespace
- LfrlAnvil.Sql.Exceptions
- Assembly
- LfrlAnvil.Sql.Core.dll
Represents an error that occurred due to an invalid node type returned by SqlNodeMutatorContext.
public class SqlNodeMutatorException : InvalidOperationException, ISerializable
- Inheritance
-
SqlNodeMutatorException
- Implements
- Inherited Members
Constructors
SqlNodeMutatorException(SqlNodeBase, SqlNodeBase, SqlNodeBase, Type, string)
Creates a new SqlNodeMutatorException instance.
public SqlNodeMutatorException(SqlNodeBase parent, SqlNodeBase node, SqlNodeBase result, Type expectedType, string description)
Parameters
parent
SqlNodeBaseParent node.
node
SqlNodeBaseOriginal node.
result
SqlNodeBaseInvalid original node's replacement.
expectedType
TypeExpected node type.
description
stringError description.
Properties
ExpectedType
Expected node type.
public Type ExpectedType { get; }
Property Value
Node
Original node.
public SqlNodeBase Node { get; }
Property Value
Parent
Parent node.
public SqlNodeBase Parent { get; }
Property Value
Result
Invalid original node's replacement.
public SqlNodeBase Result { get; }