ext/duckdb/database.c in duckdb-0.0.4 vs ext/duckdb/database.c in duckdb-0.0.5
- old
+ new
@@ -29,10 +29,10 @@
obj = allocate(cDuckDBDatabase);
Data_Get_Struct(obj, rubyDuckDB, ctx);
if (duckdb_open(pfile, &(ctx->db)) == DuckDBError)
{
- rb_raise(rb_eRuntimeError, "Failed to open database"); /* FIXME */
+ rb_raise(eDuckDBError, "Failed to open database"); /* FIXME */
}
return obj;
}
static VALUE duckdb_database_connect(VALUE self) {