baml.panics.HostContractViolation
A host callable violated its typed contract: it returned a value of the wrong type, or threw a value that does not match its declared error contract. Catchable like any other panic.
Reference version
Signature
class baml.panics.HostContractViolationA host callable violated its typed contract: it returned a value of the wrong type, or threw a value that does not match its declared error contract. Catchable like any other panic.
Source:<builtin>/baml/ns_panics/panics.bamlbytes 4164–4264
Fields
message
stringclass_name
string | nulllanguage
string | nullImplementations
baml.Concrete for T
Source:<builtin>/baml/core.bamlbytes 747–779