pydantic/monty
Documented errors, page 2 of 2. Back to pydantic/monty
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| `kwarg_error_name` is only meaningful with `style = def`… | validation | error | rust, proc-macro, fromargs, compile-time |
| ClassType attrs entries must be [name, value] pairs | validation | error | typescript, wasm, value-conversion, typeerror |
| current task is in unexpected Completed state after… | panic | critical | async, internal-panic, scheduler |
| snapshot has already been resumed | exception | error | typescript, snapshot, single-use, state-machine |
| StringId overflow | panic | critical | rust, panic, interning |
| gather item is not a Coroutine, ExternalFuture, or… | panic | error | rust, async, gather, internal-invariant, interpreter |
| Object property 'type' type mismatch. Expect value to be… | validation | error | typescript, validation, class-instance, value-conversion |
| gather_id doesn't point to a GatherFuture | panic | critical | panic, internal, async, gather, scheduler |
| ClassType attr name must be a string | validation | error | typescript, wasm, value-conversion, typeerror |
| masked below 2**16 | panic | info | rust, internal-invariant, crc |
| Awaiter::GatherSlot gather id is not a GatherFuture | panic | critical | async, gather, internal-panic |
| non-filesystem OS function reached filesystem parser | panic | error | rust, internal-error, panic, filesystem, os-calls |
| resolve_future: future was already resolved | panic | critical | async, futures, double-resolution |
| index bounded by table length | panic | info | rust, internal-invariant, translate |
| masked below 2**32 | panic | info | rust, internal-invariant, bigint |
| class member ' ' missing from class-body locals | panic | error | rust, compiler, classes |
| failed to write | panic | error | build-script, cargo, file-write, permissions |
| missing `#[from_args(name = "...")]` on the struct | validation | error | rust, derive-macro, compile-time, missing-attribute |
| `at_most_total` cannot be combined with `varargs` or… | validation | error | rust, proc-macro, fromargs, compile-time |
| dict view must always reference a dict | panic | error | rust, heap, internal-invariant |
| StringId overflow while building reverse interns map | panic | critical | rust, panic, interning |
| task has no frames and no coroutine_id | panic | critical | async, internal-panic, scheduler |
| u32 fits usize on supported targets | panic | info | rust, internal-invariant, hexlify |
| `kwargs_not_supported_yet` cannot be combined with… | validation | error | rust, proc-macro, fromargs, compile-time |
| ToArgs can only be derived for structs with named fields or… | validation | error | rust, derive-macro, compile-time, unsupported-type |
| bubble-up captured ' ' that is bound nowhere — scope… | panic | error | rust, compiler, scope-analysis |
| invalid mount mode: ' '. Expected 'read-only', 'read-write'… | validation | error | typescript, mount, invalid-enum, configuration |
| class-instance node's class-type index is not a class-type… | validation | error | wasm, serialization, class-instance, data-integrity |
| nibble fits usize | panic | info | rust, internal-invariant, crc32 |
| ClassInstance marker instanceId must be a uuid string | validation | error | typescript, class-instance, uuid, validation |
| MontyFileHandle mode must be a string | validation | error | typescript, wasm, filesystem, value-conversion |
| MontyFileHandle position must be a non-negative safe integer | validation | error | typescript, type-safety, file-position |
| Invalid static string ID | panic | error | rust, panic, interning |
| `varargs` cannot appear after keyword-only fields — Python… | validation | error | rust, derive-macro, compile-time, argument-parsing |
| required positional fields must come before positional… | validation | error | rust, proc-macro, compile-time, python-signatures |
| expected list | panic | error | rust, internal-error, panic, test-code, list |
| Undefined found while converting to MontyObject | panic | error | rust, internal-invariant, host-bridge |
| failed to read | panic | error | build-script, cargo, pyproject, file-read |
| Dereferenced found while converting to MontyObject | panic | error | rust, internal-invariant, memory-model |
| Monty wasm component requested process exit | exception | error | wasm, wasi, process-exit, memory-limit |
| `style = unpack` cannot be combined with `varargs` or… | validation | error | rust, proc-macro, fromargs, compile-time |
| dict_items view must reference a dict | panic | error | rust, internal-error, panic, dict-view, membership-test |
| dict_items view must always reference a dict | panic | error | rust, internal-error, panic, dict-view |
| maxBytes must be a finite non-negative number or null | validation | error | typescript, constructor-validation, types |
| worker reported ResolveFutures with no pending call ids | exception | error | protocol, typescript, internal |
| StoreCell: entry is not a Cell | panic | critical | panic, internal, heap, closures |
| unreachable | panic | error | rust, internal-error, panic, documentation, rustdoc-json |
| pool is closed | exception | error | pool, lifecycle, wasm-worker, resource-management |
| (dynamic: diagnostics from the type checker) | exception | error | typescript, type-checking, diagnostics |
| only one `#[from_args(varargs)]` field is allowed | validation | error | rust, derive-macro, compile-time, argument-parsing |
| invalid ascii byte | panic | error | rust, internal-invariant, string-interning |
| dict_keys view must always reference a dict | panic | error | rust, heap, internal-invariant |
| worker reported unknown pending call id | exception | error | protocol, typescript, internal |
| loadSession / loadSnapshot is only valid on a fresh… | exception | error | typescript, lifecycle, snapshots |
| Monty timezoneName requires offsetSeconds | validation | error | typescript, datetime, timezone, validation |
| validated gather awaitable is heap-backed | panic | error | rust, panic, asyncio |
| python values are not hashable | panic | error | rust, hashing, unhashable-type, monty-object |
| the session is closed — check out a new one | exception | error | typescript, lifecycle, session |
| exclusive creation mode is not supported | validation | error | typescript, file-mode, unsupported-operation |
| assertMessageAnnotations must be a boolean or an integer… | validation | error | typescript, options-validation, range |
| dict_values view must always reference a dict | panic | error | rust, internal-error, panic, dict-view |
| `varargs` fields must be `Vec | validation | error | rust, proc-macro, compile-time, varargs |
| dict_values view must reference a dict | panic | error | rust, internal-error, panic, dict-view, membership-test |
| Object property 'attrs' type mismatch. Expect value to be… | validation | error | typescript, validation, class-instance, array |
MemoryError memory limit exceeded | error_code | error | typescript, resource-limit, memory |
| FromArgs can only be derived for structs with named fields | validation | error | rust, proc-macro, compile-time, derive |
| unknown style ` `; expected `def`, `clinic`, `c`… | validation | error | rust, derive-macro, compile-time, invalid-attribute |
| test function ' ' not found | panic | error | rust, test-hooks, internal |
| `default` and `static_string` cannot be applied to… | validation | error | rust, proc-macro, compile-time, attributes |
| at least one OpenTelemetry component is required | exception | error | typescript, telemetry, opentelemetry, config |
| ClassType attrs must be an array of [name, value] pairs | validation | error | typescript, validation, class-type, value-conversion |
| no fields may appear after a `#[from_args(varkwargs)]` field | validation | error | rust, proc-macro, compile-time, kwargs |
| only one `#[from_args(varkwargs)]` field is allowed | validation | error | rust, derive-macro, compile-time, argument-parsing |
| must be a safe integer (<= 9007199254740991) | validation | error | javascript, napi, argument-validation, numbers, precision |
| Must have exactly one of create/read/write/append mode and… | validation | error | file-mode, validation, file-handle, python-compat |
| Function not found | panic | error | rust, panic, bytecode |
| invalid mode: binary mode specified twice | validation | error | typescript, file-mode, duplicate-flag |
| memoryUsageLimit must be a non-negative safe integer | validation | error | typescript, mount, memory-limit, validation |
| must be an integer | validation | error | javascript, napi, argument-validation, numbers |
| update modes ('+') are not yet supported | validation | error | typescript, file-mode, feature-gap |
| can't have text and binary mode at once | validation | error | typescript, file-mode, conflicting-options |
| must have exactly one of create/read/write/append mode | validation | error | file-mode, validation, file-handle, python-compat |
| invalid mode | validation | error | typescript, file-mode, invalid-argument |
| invalid mode: text mode specified twice | validation | error | typescript, file-mode, duplicate-flag |