import {
  Defect,
  String,
  TaggedErrorClass,
  optional
} from "./index-w9j14fjm.js";

// ../../node_modules/.bun/effect@https+++pkg.pr.new+Effect-TS+effect-smol+effect@8881a9b/node_modules/effect/dist/unstable/sql/SqlError.js
var TypeId = "~effect/sql/SqlError";

class SqlError extends (/* @__PURE__ */ TaggedErrorClass("effect/sql/SqlError")("SqlError", {
  cause: Defect,
  message: /* @__PURE__ */ optional(String)
})) {
  [TypeId] = TypeId;
}

export { SqlError };
