Skip to main content

QueryExecutionException

  • Namespace: PPDS.Dataverse.Query.Execution
  • Assembly: PPDS.Dataverse
  • Kind: Class
  • Base: InvalidOperationException
  • Implements: ISerializable

Summary

Exception thrown during query plan execution with a structured error code.

Members

Constructors

QueryExecutionException(string errorCode, string message, Exception inner)

QueryExecutionException(string errorCode, string message, Exception inner)

Creates a new query execution exception.

  • Param errorCode: The structured error code (use PPDS.Dataverse.Query.Execution.QueryErrorCode constants).

  • Param message: Human-readable error message.

  • Param inner: Optional inner exception.

Properties

ErrorCode

string ErrorCode { get; }

Structured error code for programmatic handling. Uses the Query.* prefix (e.g., "Query.TypeMismatch").