/** * Constructs a layer that dies with the specified throwable. * * @tsplus static effect/core/io/Layer.Ops die */ export function die(defect: LazyArg): Layer { return Layer.failCause(Cause.die(defect())) }