import * as tsplus_module_1 from "@effect/core/stm/STM/operations/dieMessage";
import * as tsplus_module_2 from "@effect/core/stm/STM/operations/filterOrElse";
export const filterOrDieMessage_ = filterOrDieMessage_1;

function filterOrDieMessage_1(self, f, message) {
  return tsplus_module_2.filterOrElse_(self, f, () => tsplus_module_1.dieMessage(message));
}

export function filterOrDieMessage(f, message) {
  return self => filterOrDieMessage_1(self, f, message);
}
//# sourceMappingURL=filterOrDieMessage.mjs.map