Table of Contents

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 SqlNodeBase

Parent node.

node SqlNodeBase

Original node.

result SqlNodeBase

Invalid original node's replacement.

expectedType Type

Expected node type.

description string

Error description.

Properties

ExpectedType

Expected node type.

public Type ExpectedType { get; }

Property Value

Type

Node

Original node.

public SqlNodeBase Node { get; }

Property Value

SqlNodeBase

Parent

Parent node.

public SqlNodeBase Parent { get; }

Property Value

SqlNodeBase

Result

Invalid original node's replacement.

public SqlNodeBase Result { get; }

Property Value

SqlNodeBase