Run a fully handled program, capturing the outcome as a Result: the final value on success, or an IllegalStateException naming the unhandled effect on failure.