Skip to content
1 min read · 103 words

Variable: E_SHIM_NOT_RESOLVED

ts
const E_SHIM_NOT_RESOLVED: CreatedException<[string]>;

Defined in: src/shims/index.ts:180

Thrown when AdkShim.get or a AdkShim.proxy property read is attempted before the shim has a dereferenceable bundle — either because AdkShim.resolve has never been awaited to completion, or because a previously resolved bundle's WeakRef has since been garbage collected. The message names the exact accessor that triggered the throw ("get()" for the get() method itself, or the property name for a proxy read) so the failure points straight at the offending call site.

Remarks

Recoverable by the caller: await shim.resolve() (or re-register a resolver and resolve, for the ambient adk shim) and retry the sync read.