You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CoinMap.get() throws CoinNotDefinedError for unknown coins, meaning
optional-chaining (?.) provides no protection. Add getOrUndefined()
which returns undefined for unknown coins and delegates to it from
get(), making the missing-coin case explicit in the type system.
Ticket: CGD-255
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Session-Id: 6a81412d-5c4e-462d-959a-3eda803f708c
Task-Id: 562723cc-ae5d-41b5-96c7-d8a533be687c
0 commit comments