Looking for a `Effect.orDieMessage` Variant

Does anyone know if there is a "message" variant of Effect.orDie? Quite often when there are unactionable errors, I do .pipe(Effect.orDie), but that just throws whatever error is in the error channel. What I would like to do is like Effect.orDieMessage("oops, please set the 'TASK_ID' environment variable")
Was this page helpful?