BoundaryML/baml
Documented errors, page 6 of 13. Back to BoundaryML/baml
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| does not exist (expected a directory containing BAML files) | exception | error | filesystem, path, baml, directory |
| HeapPtr cannot be deserialized: runtime pointer leaked into… | exception | critical | borsh, deserialization, heap-pointer, invariant |
| Item: not found | exception | error | baml, ir, not-found, build |
| unsupported types for >= operator at | validation | error | baml, interpreter, comparison, type-error |
| Depth limit reached. Likely a circular reference. | error_code | error | parsing, json, recursion |
| {e.message()} | validation | error | baml, compile-time, client-resolution, config |
| Expected Collector, got | validation | error | ffi, decode, type-mismatch, rust |
| failed to serialize BAML bytecode | exception | error | serialization, internal, baml |
| Field type uses unresolvable local identifier | validation | error | baml, types, schema, unresolved |
| Missing required parameter | validation | error | rust, baml, arguments, validation |
| attempted to call non-function | exception | error | interpreter, type-mismatch, call |
| failed close destination | error_code | error | go, file-io, native-library-download |
| Failed to read file | error_code | error | rust, language-server, filesystem, file-read |
| invalid arg | panic | error | rust, ffi, panic, cli |
| project name ` ` contains invalid character(s) . Use ASCII… | validation | error | cli, validation, project-name, identifier-format |
| Property not found: in class | exception | error | type-builder, property, not-found, class |
| the master member cannot be interned: the master is the… | validation | error | proc-macro, compile-time, baml, rust |
| type ` ` can't be passed through auto-CLI; deliver it via… | validation | error | cli, json, type-mismatch, baml |
| unexpected type from source: %T | exception | error | go, ffi, ast, type-mismatch |
| Attempting to finish a call | exception | error | tracing, state, invariant |
| cannot convert value | exception | error | baml, class, internal |
| Cannot parse end date | exception | error | jinja, date, template |
| failed to decode object response | exception | error | go, ffi, decoding, response |
| Failed to deserialize value | validation | error | rust, serde, deserialization, json |
| ntypeargs fits u16 | panic | error | compiler, rust, panic, integer-overflow, bytecode |
| unknown method ' ' at , should have been caught during… | exception | error | runtime, internal, method-not-implemented, baml |
| unsupported pack target | validation | error | rust, cli, argument-validation, target-triple |
| Class already exists | exception | error | typescript, schema, duplicate, type-builder |
| Enum not found | exception | error | rust, schema, enum, lookup-failed |
| failed to install the BAML extension into | exception | error | ide, path, cli |
| OpenAI transcriptions require exactly one audio media part… | validation | error | openai, transcription, audio, baml |
| Type mismatch: expected | exception | error | type-mismatch, heap, vm |
| unexpected type for provider: %T | error_code | error | type-assertion, ffi, binding, baml |
| validated int sort value should be int | panic | error | vm-panic, invariant, sort, type-safety |
| a call's argument count fits in u16 | panic | error | |
| BAML_CACHE_SAMPLED_VERIFY: the incremental cache served a… | exception | error | cache, throws-analysis, incremental-compilation, cache-soundness |
| baml.json.deserialize failed | exception | error | json, deserialization, type-mismatch, baml |
| Failed to convert result to owned value | exception | error | rust, heap, internal-state |
| Failed to fetch | exception | error | network, http, tracing, fetch |
| FreeLibrary failed | exception | error | windows, dynamic-linking, dll, resource-cleanup |
| Map.set: should be dispatched via __glue_set | panic | error | rust, map, dispatch, panic |
| OpenAI transcription field `temperature` must be a number… | validation | error | config, openai, transcription, type-mismatch |
| request returned | http | error | http, api, cli |
| unsupported types for / operator at | validation | error | baml, interpreter, type-error, unsupported-operation |
| BamlError: Unexpected error from BAML | exception | error | rust, napi, internal-error, llm |
| run started record omitted time anchor | validation | error | protobuf, deserialization, missing-field |
| unexpected type for method: %T | error_code | error | go, type-mismatch, http-method |
| unsupported types for - operator at | validation | error | runtime, operators, type-error, interpreter |
| assert condition must be boolean | exception | error | baml, assertion, type-mismatch |
| BAML internal error (AWSBedrock): Pdf file should have been… | exception | error | aws-bedrock, pdf, media, internal-error, base64 |
| Error evaluating constraint | validation | error | validation, assert, constraint, baml |
| Protobuf decode error | error_code | error | protobuf, ffi, decoding, rust |
| run target omitted variant | validation | error | protobuf, oneof, deserialization |
| text is required | validation | error | ffi, rust, missing-argument, parse |
| toolchain binary is not executable | validation | error | cli, toolchain, permissions, unix |
| unsupported release target | exception | error | cli, target-triple, validation, invalid-cli-argument |
| blob digest has no prefix | exception | error | rust, blob-storage, internal-invariant |
| failed open source | error_code | error | filesystem, file-open, download, temp-file |
| Failed to generate a runtime | error_code | error | lsp, hover, runtime, baml |
| Failed to initialize BAML logger | exception | critical | ruby, logging, initialization, ffi |
| at | exception | error | runtime, numbers, formatting, baml |
| nil success in InvocationResponse | exception | error | go, protobuf, ffi, internal |
| \n\nDetailed message | exception | error | rust, llm, timeout, abort, error-conversion |
| undefined function: baml.deep_copy | panic | critical | compiler, builtins, panic, prelude |
| unexpected type for enum value builder: %T | exception | error | go, baml-runtime, type-assertion, enum, internal |
| usage: baml self-update unexpected arguments | validation | error | cli, usage, argument-validation |
| Video is not a URL | exception | error | javascript, video, multimodal, content-type |
| is a file, not a directory (expected a directory containing… | exception | error | filesystem, path, baml, directory |
| disk error | exception | error | io, filesystem, rust |
| Enum value already exists | exception | error | type-builder, baml, rust, duplicate-value |
| environment context missing | exception | error | baml, env, interpreter, missing-context |
| failed to decode object handle | exception | error | go, ffi, decoding, object-handle |
| Failed to render template | validation | error | jinja, template, render, baml |
| interface frame starts with Self | panic | error | compiler, rust, panic, interfaces, self-parameter |
| No tracer found | panic | error | rust, wasm, tracing, internal-error |
| Recursive alias not found | exception | error | rust, schema, alias, type-resolution |
| cargo metadata failed | exception | error | cargo, rust, workspace, subprocess |
| Environment variable | validation | error | environment, config, rust |
| Expr function error | exception | error | wasm, expr-function, testing, rust |
| failed to get calls | error_code | error | go, rpc, error-wrapping, llm |
| offset fits in BAML int | panic | error | rust, panic, toml, timezone, overflow |
| Recursive type alias without indirection | error_code | error | sap, baml, type-alias, recursion, cycle |
| script body has `--function` without a value | validation | error | cli, argument-parsing, baml |
| unexpected type for id: %T | error_code | error | go, type-assertion, ffi, baml |
| Cannot parse begin date | exception | error | jinja, date, template |
| failed to get calls count | error_code | error | go, rpc, error-wrapping, llm |
| function ` ` not found while building control-flow… | exception | error | rust, hir, visualization, not-found |
| HostClosure cannot be serialized | exception | error | rust, serialization, borsh, host-boundary |
| internal error | exception | error | rust, internal, bug, baml |
| virtual local without definition | panic | critical | compiler, lir, panic, optimization |
| default_role must be one of 'system', 'user' or 'assistant | validation | error | config, validation, roles, baml |
| Encountered impossible doc comment during parsing | panic | error | rust, parser, panic, doc-comments, invariant |
| Expected message output to have content, but content is… | exception | error | aws, bedrock, empty-response, response |
| Multiple major.minor versions detected | error_code | error | versioning, config, baml, generators |
| Name should always be defined for attribute. | panic | error | rust, parser, panic, invariant |
| unexpected type for as_base64: %T | exception | error | go, ffi, type-mismatch, baml |
| unexpected type for http request: %T | exception | error | type-assertion, ffi, binding, baml |
| Invalid client property. Should have been a anthropic… | validation | error | configuration, anthropic, type-mismatch |
| uncaught throw | exception | error | baml, vm, uncaught-exception, stack-trace |
| Expected float, got | validation | error | baml, json, float, deserialization |