Exception: Sequel::DuckDB::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/sequel/duckdb.rb

Overview

Base error class for DuckDB-related exceptions

This class serves as the base for all DuckDB-specific errors that may occur during adapter operation. It extends StandardError to provide a consistent error hierarchy for the DuckDB adapter.

Examples:

Catching DuckDB errors

begin
  db.execute("INVALID SQL")
rescue Sequel::DuckDB::Error => e
  puts "DuckDB error: #{e.message}"
end

Since:

  • 0.1.0