baml.panics.Unreachable
Used to mark a branch that should be impossible to reach, based on user invariants that cannot be validated by the compiler.
Reference version
Signature
class baml.panics.UnreachableUsed to mark a branch that should be impossible to reach, based on user invariants that cannot be validated by the compiler.
Examples
TODO: unreachable() needs to be added back as an alternative to panic and exit
Source:<builtin>/baml/ns_panics/panics.bamlbytes 1752–1794
Fields
message
stringImplementations
baml.Concrete for T
Source:<builtin>/baml/core.bamlbytes 747–779