Class SqlNodeVisitorException
- Namespace
- LfrlAnvil.Sql.Exceptions
- Assembly
- LfrlAnvil.Sql.Core.dll
Represents an error that occurred due to an ISqlNodeVisitor instance being unable to handle a node.
public class SqlNodeVisitorException : InvalidOperationException, ISerializable
- Inheritance
-
SqlNodeVisitorException
- Implements
- Inherited Members
Constructors
SqlNodeVisitorException(string, ISqlNodeVisitor, SqlNodeBase)
Creates a new SqlNodeVisitorException instance.
public SqlNodeVisitorException(string reason, ISqlNodeVisitor visitor, SqlNodeBase node)
Parameters
reason
stringDescription of a reason behind this error.
visitor
ISqlNodeVisitorSQL node visitor that failed.
node
SqlNodeBaseNode that caused the failure.
Properties
Node
Node that caused the failure.
public SqlNodeBase Node { get; }
Property Value
Visitor
SQL node visitor that failed.
public ISqlNodeVisitor Visitor { get; }