Class CursorException
- Namespace
- DataStax.AstraDB.DataApi.Core.Enumeration
- Assembly
- DataStax.AstraDB.DataApi.dll
Exception thrown when a cursor operation is attempted in an invalid state.
public class CursorException : Exception, ISerializable, _Exception
- Inheritance
-
CursorException
- Implements
- Inherited Members
Constructors
CursorException(string, CursorState)
Initializes a new instance of the CursorException class.
public CursorException(string message, CursorState state)
Parameters
messagestringThe error message.
stateCursorStateThe cursor state when the error occurred.
Properties
CursorState
Gets the cursor state when the error occurred.
public CursorState CursorState { get; }