// runtime/subsystems/events/events-errors.ts
var MissingTenantIdError = class extends Error {
  constructor(eventType) {
    super(
      `Missing tenantId for event '${eventType}'. EventsModule is configured with multiTenant: true \u2014 every publish must include opts.metadata.tenantId. Either pass the tenantId or disable multi-tenancy on the module.`
    );
    this.eventType = eventType;
  }
  eventType;
  name = "MissingTenantIdError";
};

export {
  MissingTenantIdError
};
//# sourceMappingURL=chunk-V4AF6DI4.js.map