observablehq/runtime

module.value should return a rejected Promise if the variable is not found.

mbostock opened this issue · 0 comments

Currently it throws a RuntimeError synchronously, but this mixes synchronous and asynchronous control flow.