/** * Extracts the optional value, or fails with a `NoSuchElement` exception. * * @tsplus getter effect/core/stm/STM someOrFailException */ export function someOrFailException( self: STM> ): STM { return self.someOrFail(new NoSuchElement()) }