Mystery `NoSuchElementException`
after a refactor, I have somehow ended up getting a
NoSuchElementExceptionNoSuchElementException at runtime that is not reflected anywhere in the types that I can find. Would appreciate any pointers for tracking down the source! Stack trace:NoSuchElementException
at FiberRuntime.None (/Users/davidgolightly/dev/masterclass/cortex/node_modules/effect/src/internal/fiberRuntime.ts:1066:22)
at /Users/davidgolightly/dev/masterclass/cortex/node_modules/effect/src/internal/fiberRuntime.ts:1343:53
at AsyncLocalStorage.run (node:async_hooks:346:14)
at AsyncLocalStorageContextManager.with (/Users/davidgolightly/dev/masterclass/cortex/node_modules/@opentelemetry/context-async-hooks/src/AsyncLocalStorageContextManager.ts:40:36)
at ContextAPI.with (/Users/davidgolightly/dev/masterclass/cortex/node_modules/@opentelemetry/api/src/api/context.ts:77:42)
at Object.context (/Users/davidgolightly/dev/masterclass/cortex/node_modules/@effect/opentelemetry/src/internal/tracer.ts:154:34)
at FiberRuntime.runLoop (/Users/davidgolightly/dev/masterclass/cortex/node_modules/effect/src/internal/fiberRuntime.ts:1333:28)
at FiberRuntime.evaluateEffect (/Users/davidgolightly/dev/masterclass/cortex/node_modules/effect/src/internal/fiberRuntime.ts:893:27)
at FiberRuntime.evaluateMessageWhileSuspended (/Users/davidgolightly/dev/masterclass/cortex/node_modules/effect/src/internal/fiberRuntime.ts:861:14)
at FiberRuntime.drainQueueOnCurrentThread (/Users/davidgolightly/dev/masterclass/cortex/node_modules/effect/src/internal/fiberRuntime.ts:623:18) {
_tag: 'NoSuchElementException'
}NoSuchElementException
at FiberRuntime.None (/Users/davidgolightly/dev/masterclass/cortex/node_modules/effect/src/internal/fiberRuntime.ts:1066:22)
at /Users/davidgolightly/dev/masterclass/cortex/node_modules/effect/src/internal/fiberRuntime.ts:1343:53
at AsyncLocalStorage.run (node:async_hooks:346:14)
at AsyncLocalStorageContextManager.with (/Users/davidgolightly/dev/masterclass/cortex/node_modules/@opentelemetry/context-async-hooks/src/AsyncLocalStorageContextManager.ts:40:36)
at ContextAPI.with (/Users/davidgolightly/dev/masterclass/cortex/node_modules/@opentelemetry/api/src/api/context.ts:77:42)
at Object.context (/Users/davidgolightly/dev/masterclass/cortex/node_modules/@effect/opentelemetry/src/internal/tracer.ts:154:34)
at FiberRuntime.runLoop (/Users/davidgolightly/dev/masterclass/cortex/node_modules/effect/src/internal/fiberRuntime.ts:1333:28)
at FiberRuntime.evaluateEffect (/Users/davidgolightly/dev/masterclass/cortex/node_modules/effect/src/internal/fiberRuntime.ts:893:27)
at FiberRuntime.evaluateMessageWhileSuspended (/Users/davidgolightly/dev/masterclass/cortex/node_modules/effect/src/internal/fiberRuntime.ts:861:14)
at FiberRuntime.drainQueueOnCurrentThread (/Users/davidgolightly/dev/masterclass/cortex/node_modules/effect/src/internal/fiberRuntime.ts:623:18) {
_tag: 'NoSuchElementException'
}