baml.panics.MapKeyNotFound
Raised when a map is accessed with a key that does not exist.
Reference version
Signature
class baml.panics.MapKeyNotFoundRaised when a map is accessed with a key that does not exist.
Examples
let map = { "key": 42 };
let result = map["nonexistent"]; // panics
Source:<builtin>/baml/ns_panics/panics.bamlbytes 1059–1100
Fields
key
stringImplementations
baml.Concrete for T
Source:<builtin>/baml/core.bamlbytes 763–795