Errors and diagnostic codes¶
Use LclError to catch failures detected by lclang. Error classes, diagnostic
records, code tables, and rendering helpers live in lclang.error. Each builtin
code has a specific meaning; argument names, source paths, and task names belong
in the diagnostic message and context.
LclError.verbose_failure_id is None until an enabled verbose logger first
observes the failure. The process-local identifier survives propagation,
diagnostic copies, group derivation and cached returns. Error rendering includes
it when present. A newly combined group has its own identifier while its members
retain theirs. This field does not replace the error code or change the retained
source, value, cause or traceback snapshots. See verbose diagnostics
for application-controlled logging scopes.
Human-readable codes include their protected reason on the same line. Exception
str expands the failed dependency and loading paths as trees; repr returns a
single-line reference. Source excerpts appear only at the innermost failure.
The Cause branch precedes the diagnostic stack; an unsuppressed handling context
occupies that position when no explicit cause exists.
See text diagnostics for shared rendering and traceback controls.
See Exceptions and grouped failures for the exception hierarchy, multiple-failure scenarios, diagnostic output and application handling examples.
Read a code¶
A builtin code is LCLabcdef, with six decimal digits:
| Position | Meaning |
|---|---|
a |
Domain |
b |
Subsystem within that domain |
c |
Operation within that subsystem |
d |
Failure category for that operation |
e |
Cause within that category |
f |
Refinement of that cause |
Read each position under its parent. A digit does not have one global meaning
across unrelated operations. Trailing zeros mean that no further subdivision is
specified. For example, LCL131421 identifies language → evaluator → operators
→ arithmetic failure → arithmetic operation → division by zero.
| First digit | Domain |
|---|---|
0 |
General failures and diagnostic support |
1 |
Language: lexing, parsing, evaluation, printing |
2 |
Runtime: Modules, Presets, Frames, dependencies |
3 |
Configuration: parsing, loading, composition |
4 |
CLI: declarations, routing, arguments, execution |
5 |
Workflows: definitions, mappings, execution, status |
6 |
Logging: configuration, scopes, output |
7 |
Utilities: calendars, environment, Snowflake, conversion |
8 |
Core data: source positions, AST, diagnostics, names |
9 |
Standard-library functions and namespaces |
get_error_codes() lists the registered builtin identifiers.
get_error_code_path(code) returns their six classification labels. Applications
may pass any nonempty string as LclError(..., code=...); those application codes
are outside the builtin registry.
Import code enums from lclang.error. Each member has an Exx_REASON name;
xx repeats the subsystem and operation digits within its domain. Members are
ordered by their complete code values.
| Domain | Enum |
|---|---|
| 0 | GeneralErrorCode |
| 1 | LanguageErrorCode |
| 2 | RuntimeErrorCode |
| 3 | ConfigurationErrorCode |
| 4 | CliErrorCode |
| 5 | WorkflowErrorCode |
| 6 | LoggerErrorCode |
| 7 | UtilityErrorCode |
| 8 | DataModelErrorCode |
| 9 | StandardLibraryErrorCode |
For example, LanguageErrorCode.E31_DIVISION_BY_ZERO has the string value
LCL131421. A member ending in _NATIVE_FAILURE identifies the operation that
caught an unexpected ordinary Python Exception. Its __cause__ retains the
actual native type, such as TypeError, OSError, or an application exception.
These boundaries accept arbitrary ordinary exceptions; the code does not
promise one particular native class. Cancellation, exit and iteration signals
retain their native propagation behavior.
Inspect a failure¶
| Field | Meaning |
|---|---|
code |
Builtin identifier or application code |
message |
Description of the detected failure |
span |
Source range, with its retained source snapshot when available |
variable_stack |
Active definition names, from the request to the failure |
evaluation_context |
Detached definition, LCL/Python call and using-target frames with values already read |
config_stack |
Loading route, including source introductions and their ranges |
masked |
Whether the failure was captured under masking |
native_cause |
Protected description captured from a native exception |
binding_names |
Conflicting binding names on validation errors; empty when no conflict is attached |
__cause__ |
Original exception object retained at a wrapping boundary |
__notes__ |
Operation and workflow task context added during propagation |
str(error) shows the operation, code, source scene, and cause. It reads captured
records rather than evaluating expressions or opening source files again. Value
snapshots have a bounded representation; exact masked names are redacted before
representation. Raw native causes and Python tracebacks remain available to the
application, so choose explicitly whether to log them.
A failure already belonging to LclError retains its code as it crosses another
boundary. Loading adds context to a copy so concurrent callers do not share
mutable loading routes. Workflow failures retain their task branch in notes and
in WorkflowException.error_task.
Copies retain declared diagnostic fields, native causes and tracebacks, with an
independent notes list. Application exception subclasses can override
copy_diagnostic_fields(target), call the base method, and copy their own declared
fields. This hook copies state into an already allocated compatible error;
it does not call the subclass constructor. Exception-group splitting keeps the
selected member objects and arguments.
Using wrappers preserve failure IDs and base diagnostic evidence while retaining
their own operation message and declaration span. Equal IDs identify the same
failure; a wrapper can still add a loading route or another distinct context.
Groups share identical evaluation prefixes and retain members in their original
order. DiagnosticValue.callable_definition and
EvaluationContextFrame.callable_definition hold optional immutable
PythonCallableDefinition metadata: qualified name, original code filename and
one-based starting line. Missing metadata does not imply a guessed source.
LclValidationError reports invalid types, invalid values, and declaration
conflicts. LclStateError reports unavailable lifecycle operations. Neither is
a TypeError, ValueError, or RuntimeError; catch the LCL type you intend to
handle. Existing syntax, name, evaluation, configuration, CLI, and calendar
exception names remain available. Workflow, logger, utility, and standard-library
families provide corresponding application boundaries.
LclAttributeError also inherits AttributeError. Missing attributes therefore
work with hasattr and getattr(obj, name, default). Frozen data uses
LclFrozenAttributeError, which also preserves FrozenInstanceError.
Multiple failures and control signals¶
LclErrorGroup is both an LclError and an ExceptionGroup. It retains each
ordinary failure, wrapping native members with their original causes. Python's
except*, split, and subgroup operations preserve the group metadata and
selected member objects. Resource cleanup attempts all owned resources; execution
and cleanup failures remain visible together.
Native ordinary exception groups from callbacks retain their nested structure, with LCL members and original causes. Propagation adapters can add a configuration or CLI exception type around a specific code; the cause retains the detection type listed in the directory. Raising an existing LCL error keeps its code.
Cancellation, SystemExit, KeyboardInterrupt, and iterator termination keep
their Python semantics. A control signal is not converted to an ordinary LCL
failure. Ordinary cleanup failures accompanying a control signal are retained
through its cause chain. A Python exception raised directly by your own context
manager body follows the body's propagation contract; callback APIs wrap failures
at their documented execution boundaries.
Syntax¶
An incomplete expression fails before a Frame can be created.
from lclang.lang import parse_expression
from lclang.error import LclSyntaxError
try:
parse_expression("1 +")
except LclSyntaxError as error:
assert error.code == "LCL121491"
assert error.span is not None
print(error)
else:
raise AssertionError("syntax was accepted")
Error in parsing source [LCL121491: expected an expression atom]
└─ Source: "<string>":1:4
1 +
^
The source range points at the missing operand. Correct the expression before retrying; there is no evaluation result to invalidate.
Division by zero¶
The requested result enters a dependency whose denominator is zero.
import asyncio
from lclang.lang import define_frame, define_module
from lclang.error import LclEvaluationError
async def main() -> None:
module = define_module("metrics", {"ratio": "total / count", "result": "ratio * 100"})
async with define_frame(module, preset={"total": 5, "count": 0}) as frame:
try:
await frame.get("result")
except LclEvaluationError as error:
assert error.code == "LCL131421"
assert error.variable_stack == ("result", "ratio")
assert isinstance(error.__cause__, ZeroDivisionError)
assert error.evaluation_context[-1].used_values[1].name == "count"
print(error)
else:
raise AssertionError("division succeeded")
asyncio.run(main())
Error in evaluating result [LCL131421: division by zero]
├─ Cause
│ └─ ZeroDivisionError: division by zero
└─ result: ratio * 100 ("<string>":1:1)
└─ ratio: total / count ("<string>":1:1)
├─ count: (int) 0 (external)
├─ total: (int) 5 (external)
└─ Source: "<string>":1:1
total / count
^^^^^^^^^^^^^
The values under ratio were already read. Printing the failure does not call
its dependencies again. Validate the denominator or choose an explicit zero
case. A cached failure keeps its first scene; recalculating creates a new one
without invalidating dependant snapshots.
Missing name¶
A required name is absent from the Frame hierarchy.
import asyncio
from lclang.lang import define_frame, define_module
from lclang.error import LclNameError
async def main() -> None:
module = define_module("names", {"answer": "lost + 1"})
async with define_frame(module) as frame:
try:
await frame.get("answer")
except LclNameError as error:
assert error.code == "LCL233311"
assert error.variable_stack == ("answer",)
print(error)
else:
raise AssertionError("missing name was accepted")
asyncio.run(main())
Error in evaluating answer [LCL233311: unknown variable: lost]
└─ answer: lost + 1 ("<string>":1:1)
└─ Source: "<string>":1:1
lost + 1
^^^^
Supply the intended host binding, add its definition, or correct its spelling. Use a fallback only when absence is part of the application's contract.
Configuration read failure¶
This static file exists, but the read operation fails. The example injects a portable filesystem error so the displayed diagnostic is independent of the OS.
answer: 42
import asyncio
from unittest.mock import patch
from lclang.config import load_config
from lclang.error import LclConfigUsingError
async def main() -> None:
with patch("pathlib.Path.read_bytes", side_effect=OSError("disk unavailable")):
try:
await load_config("settings.lclcfg")
except LclConfigUsingError as error:
assert error.code == "LCL321794"
assert isinstance(error.__cause__, OSError)
assert len(error.config_stack) == 1
print(error)
else:
raise AssertionError("read succeeded")
asyncio.run(main())
Error in loading config file "settings.lclcfg" [LCL321794: disk unavailable]
├─ Cause
│ └─ OSError: disk unavailable
└─ Loading route
└─ settings.lclcfg
Check the path and filesystem state, then retry the load. Missing files,
permission failures, decoding failures, directories, and root-containment
violations have separate codes. using? and import? suppress only directly
missing optional sources.
Evaluation limit¶
A Frame factory supplies a deliberately small depth budget.
import asyncio
from lclang.lang import EvaluationLimits, FrameFactory, define_module
from lclang.error import LclEvaluationError
async def main() -> None:
module = define_module("limited", {"answer": "1 + 2"})
factory = FrameFactory(module, limits=EvaluationLimits(max_depth=1))
async with factory.create() as frame:
try:
await frame.get("answer")
except LclEvaluationError as error:
assert error.code == "LCL237511"
print(error)
else:
raise AssertionError("depth limit was ignored")
asyncio.run(main())
Error in evaluating answer [LCL237511: evaluation depth limit exceeded]
└─ answer: 1 + 2 ("<string>":1:1)
└─ Source: "<string>":1:1
1 + 2
^
Inspect the expression and its dependencies before raising the budget. Depth, step count, collection size, and configuration-loading ceilings identify their own exhausted limit.
Workflow callback¶
An ordinary action error produces an ERROR result and retains the original business exception.
import asyncio
from dataclasses import dataclass
from datetime import date
from logging import CRITICAL, Logger
from lclang.lang import define_frame
from lclang.error import LclWorkflowError
from lclang.error import WorkflowException
from lclang.workflow import ExecutionStatus, ExecutionStatusManager, TaskContext, WorkflowExecutionContext, define_task, define_workflow
@dataclass
class Inputs:
value: int
async def fail_action(context: TaskContext, args: Inputs, status_mgr: ExecutionStatusManager) -> Inputs:
raise OSError("backend unavailable")
async def main() -> None:
task = define_task("root", "Read backend", task_action=fail_action, args_mapping=Inputs(1))
workflow = define_workflow("Example", task)
async with define_frame() as frame:
context = WorkflowExecutionContext(False, date(2026, 1, 1), False, Logger("example", CRITICAL), frame)
result = await workflow.execute(context)
assert result.execution_status.status is ExecutionStatus.ERROR
failure = await frame.get("__exception__")
assert isinstance(failure, WorkflowException)
assert isinstance(failure.exception, LclWorkflowError)
assert failure.exception.code == "LCL531811"
assert isinstance(failure.exception.__cause__, OSError)
assert str(failure.error_task) == "root"
print(failure.exception)
asyncio.run(main())
Error in executing a workflow [LCL531811: backend unavailable]
├─ Context: workflow task root
└─ Cause
└─ OSError: backend unavailable
The wrapper keeps the action's exception and task branch. Diagnose the backend
failure through __cause__; recover at the task's business boundary when a
retry or a covered failure is appropriate.
Execution and cleanup both fail¶
The action fails while a context owns a resource. Its exit then fails too.
import asyncio
from collections.abc import AsyncIterator
from contextlib import asynccontextmanager
from dataclasses import dataclass
from datetime import date
from logging import CRITICAL, Logger
from lclang.lang import define_frame
from lclang.error import LclErrorGroup
from lclang.error import WorkflowException
from lclang.workflow import ExecutionStatus, ExecutionStatusManager, TaskContext, WorkflowExecutionContext, define_context_task, define_task, define_workflow
@dataclass
class Inputs:
value: int
@asynccontextmanager
async def resource(context: TaskContext, args: Inputs, status_mgr: ExecutionStatusManager) -> AsyncIterator[Inputs]:
try:
yield args
finally:
raise RuntimeError("cleanup failed")
async def fail_action(context: TaskContext, args: Inputs, status_mgr: ExecutionStatusManager) -> Inputs:
raise OSError("backend unavailable")
async def main() -> None:
owner = define_context_task("resource", "Own resource", resource, Inputs(1))
task = define_task("root", "Read backend", task_action=fail_action, args_mapping=Inputs(1), context_tasks=(owner,))
async with define_frame() as frame:
context = WorkflowExecutionContext(False, date(2026, 1, 1), False, Logger("example", CRITICAL), frame)
result = await define_workflow("Example", task).execute(context)
assert result.execution_status.status is ExecutionStatus.ERROR
failure = await frame.get("__exception__")
assert isinstance(failure, WorkflowException)
group = failure.exception
assert isinstance(group, LclErrorGroup)
assert group.code == "LCL535911"
assert [item.code for item in group.exceptions] == ["LCL531811", "LCL532812"]
assert isinstance(group.exceptions[0].__cause__, OSError)
assert isinstance(group.exceptions[1].__cause__, RuntimeError)
print(group)
asyncio.run(main())
Error in executing a workflow [LCL535911: execution and cleanup failed]
├─ Context: workflow task root.resource
├─ Failure 1
│ └─ Error in handling failure [LCL531811: backend unavailable]
│ ├─ Context: workflow task root
│ └─ Cause
│ └─ OSError: backend unavailable
└─ Failure 2
└─ Error in handling failure [LCL532812: cleanup failed]
└─ Cause
└─ RuntimeError: cleanup failed
└─ During handling
└─ LclWorkflowError [LCL531811: backend unavailable] (already shown)
Inspect every member. The first failure explains execution; the second explains the resource exit. Handling one member does not imply that cleanup succeeded.
Builtin code directory¶
The directory below covers every registered builtin code. Each row gives the classification path, detected cause, a minimal triggering situation, recovery advice, and the exception family. Inline trigger descriptions identify the operation and invalid input; the complete examples above show how to run and inspect common failures.
0: General¶
| Code | Classification path | Cause | Minimal trigger | Handling | Exception type |
|---|---|---|---|---|---|
LCL000000 |
General → Unspecified subsystem → Unspecified operation → Unspecified failure category → Unspecified cause → No further refinement | Default code for application-created failures of this family. | Construct LclError("application failure") without a code override. |
Choose a specific application code when the application knows the reason. | LclError |
LCL011000 |
General → Error construction → Construct and annotate errors → Unspecified failure category → Unspecified cause → No further refinement | Default code for application-created failures of this family. | Construct LclValidationError("application failure") without a code override. |
Choose a specific application code when the application knows the reason. | LclValidationError |
LCL011111 |
General → Error construction → Construct and annotate errors → Input type → Text type → message type | A diagnostic text field is not a string. | LclError(1) or LclError("bad", code=1). |
Use strings for message and code. | LclValidationError |
LCL011131 |
General → Error construction → Construct and annotate errors → Input type → Sequence type → stack type | Variable stack must be a tuple of strings. | Call LclError with variable_stack=None for the required variable stack must be a tuple of strings. |
Supply the declared input type. | LclValidationError |
LCL011181 |
General → Error construction → Construct and annotate errors → Input type → Annotation or source type → span type | Error span must be a SourceSpan or None. | Call LclError with span=None for the required error span must be a sourcespan or none. |
Supply the declared input type. | LclValidationError |
LCL011182 |
General → Error construction → Construct and annotate errors → Input type → Annotation or source type → load frame type | Loading context must be a ConfigLoadFrame. | Call LclError.derive_config_context with frame=None for the required loading context must be a configloadframe. |
Supply the declared input type. | LclValidationError |
LCL011183 |
General → Error construction → Construct and annotate errors → Input type → Annotation or source type → copy target type | A diagnostic copy target has an incompatible exception type. | LclError("failed", code="APP").copy_diagnostic_fields(object()) |
Supply an allocated instance of the same concrete error type or a subtype. | LclValidationError |
LCL011191 |
General → Error construction → Construct and annotate errors → Input type → Other input type → constructor call | Arguments do not match an error constructor signature. | LclError() omits its message. |
Supply valid error constructor fields. | LclValidationError |
LCL011211 |
General → Error construction → Construct and annotate errors → Input value → Empty value → message empty | Required diagnostic text is empty. | LclError("") or LclError("bad", code=""). |
Provide nonempty message, code and stack names. | LclValidationError |
LCL011891 |
General → Error construction → Construct and annotate errors → External operation → Native boundary failure → constructor operation | A native operation failed inside an error constructor. | Construct an application error whose initializer raises OSError. |
Correct the constructor; inspect the retained native cause. | LclErrorGroup (grouped failures) / LclValidationError |
LCL012000 |
General → Error construction → Validate error state → Unspecified failure category → Unspecified cause → No further refinement | Default code for application-created failures of this family. | Construct LclStateError("application failure") without a code override. |
Choose a specific application code when the application knows the reason. | LclStateError |
LCL013000 |
General → Error construction → Access error attributes → Unspecified failure category → Unspecified cause → No further refinement | Default code for application-created failures of this family. | Construct LclAttributeError("application failure") without a code override. |
Choose a specific application code when the application knows the reason. | LclAttributeError |
LCL013611 |
General → Error construction → Access error attributes → State → Immutable data attributes → frozen attribute | A frozen data attribute cannot be changed. | Assign to SourcePosition(1, 1, 0).line. |
Create a replacement value. | LclFrozenAttributeError |
LCL014111 |
General → Error construction → Inspect builtin codes → Input type → Text type → registry code type | Registry lookup received a non-text code. | get_error_code_path(1). |
Pass the complete builtin code as text. | LclValidationError |
LCL014211 |
General → Error construction → Inspect builtin codes → Input value → Unregistered identifier → unknown code | The requested identifier is not a registered builtin code. | get_error_code_path("APP"). |
Use a builtin identifier for registry lookup. | LclValidationError |
LCL021111 |
General → Failure aggregation → Combine ordinary failures → Input type → Text type → group content | Group contents are empty or contain a non-exception. | LclErrorGroup("both", []). |
Provide a nonempty sequence of ordinary failures. | LclValidationError |
LCL021811 |
General → Failure aggregation → Combine ordinary failures → External operation → Missing or closed value → group member | An ordinary native failure is retained as a group member. | LclErrorGroup("both", [ValueError("first"), OSError("second")]). |
Inspect each member's original cause. | LclError / LclErrorGroup (grouped failures) |
LCL021910 |
General → Failure aggregation → Combine ordinary failures → Invariant → Multiple ordinary failures → No further refinement | Several ordinary failures require a combined diagnostic. | LclErrorGroup("both", [LclError("first"), LclError("second")]). |
Handle each retained group member. | LclErrorGroup |
LCL022890 |
General → Failure aggregation → Render native failures → External operation → Native boundary failure → No further refinement | An ordinary native exception is rendered at a diagnostic boundary. Controls and groups containing them have no ordinary code label. | render_failure(ValueError("bad"), action="loading data"). |
Inspect the native exception and the named operation. | Exception (rendered) / ExceptionGroup (rendered) |
LCL031191 |
General → Public call validation → Bind operation arguments → Input type → Other input type → call signature | Arguments do not match a public operation signature. | define_module() omits required arguments. |
Supply the declared arguments. | LclValidationError |
1: Language¶
| Code | Classification path | Cause | Minimal trigger | Handling | Exception type |
|---|---|---|---|---|---|
LCL100000 |
Language → Unspecified subsystem → Unspecified operation → Unspecified failure category → Unspecified cause → No further refinement | Default code for application-created failures of this family. | Construct LclSyntaxError("application failure") without a code override. |
Choose a specific application code when the application knows the reason. | LclSyntaxError |
LCL111491 |
Language → Lexer → Scanner → Syntax → Other malformed source → unsupported | Unsupported the supplied value the supplied value. | Parse source violating this rule in InternalScanner.internal_scan_symbol. |
Correct the syntax at the reported range. | LclSyntaxError |
LCL111890 |
Language → Lexer → Scanner → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during character_at. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclSyntaxError / LclValidationError |
LCL112421 |
Language → Lexer → Literals → Syntax → Literal or escape → invalid numeric literal | Invalid numeric literal. | Parse source violating this rule in internal_scan_number. |
Correct the syntax at the reported range. | InternalLiteralScanError |
LCL112422 |
Language → Lexer → Literals → Syntax → Literal or escape → unterminated string literal | Unterminated string literal. | Parse source violating this rule in internal_scan_string. |
Correct the syntax at the reported range. | InternalLiteralScanError |
LCL112423 |
Language → Lexer → Literals → Syntax → Literal or escape → newline in single quoted literal | Newline in single-quoted literal. | Parse source violating this rule in internal_scan_string. |
Correct the syntax at the reported range. | InternalLiteralScanError |
LCL112890 |
Language → Lexer → Literals → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during LiteralMatch. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclSyntaxError / LclValidationError |
LCL112991 |
Language → Lexer → Literals → Invariant → Operation-specific failure → numeric scanner called without a numeric prefix | A call to the internal numeric scanner has no numeric prefix. | Call internal_scan_number("x", 0) directly; scan_literal filters nonnumeric prefixes. |
Supply a numeric prefix to the internal scanner, or use scan_literal to classify the input. |
LclError |
LCL113421 |
Language → Lexer → Escapes → Syntax → Literal or escape → unsupported escape | Unsupported escape \the supplied value. | Parse source violating this rule in internal_decode_escape. |
Correct the syntax at the reported range. | EscapeDecodeError |
LCL113422 |
Language → Lexer → Escapes → Syntax → Literal or escape → non ascii source character in bytes literal | Non-ASCII source character in bytes literal. | Parse source violating this rule in decode_content. |
Correct the syntax at the reported range. | EscapeDecodeError |
LCL113423 |
Language → Lexer → Escapes → Syntax → Literal or escape → invalid hexadecimal escape | Invalid hexadecimal escape. | Parse source violating this rule in internal_fixed_escape. |
Correct the syntax at the reported range. | EscapeDecodeError |
LCL113424 |
Language → Lexer → Escapes → Syntax → Literal or escape → invalid named unicode escape | Invalid named Unicode escape. | Parse source violating this rule in internal_named_escape. |
Correct the syntax at the reported range. | EscapeDecodeError |
LCL113425 |
Language → Lexer → Escapes → Syntax → Literal or escape → unterminated named unicode escape | Unterminated named Unicode escape. | Parse source violating this rule in internal_named_escape. |
Correct the syntax at the reported range. | EscapeDecodeError |
LCL113426 |
Language → Lexer → Escapes → Syntax → Literal or escape → unicode escape in bytes literal | Unicode escape in bytes literal. | Parse source violating this rule in internal_decode_escape. |
Correct the syntax at the reported range. | EscapeDecodeError |
LCL113427 |
Language → Lexer → Escapes → Syntax → Literal or escape → named unicode escape in bytes literal | Named Unicode escape in bytes literal. | Parse source violating this rule in internal_decode_escape. |
Correct the syntax at the reported range. | EscapeDecodeError |
LCL113428 |
Language → Lexer → Escapes → Syntax → Literal or escape → non byte character in bytes literal | Non-byte character in bytes literal. | Parse source violating this rule in internal_encode_bytes. |
Correct the syntax at the reported range. | EscapeDecodeError |
LCL113491 |
Language → Lexer → Escapes → Syntax → Other malformed source → invalid unicode code point | Invalid Unicode code point. | Parse source violating this rule in internal_fixed_escape. |
Correct the syntax at the reported range. | EscapeDecodeError |
LCL113492 |
Language → Lexer → Escapes → Syntax → Other malformed source → unknown unicode character name | Unknown Unicode character name. | Parse source violating this rule in internal_named_escape. |
Correct the syntax at the reported range. | EscapeDecodeError |
LCL113890 |
Language → Lexer → Escapes → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during EscapeDecodeError. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclSyntaxError / LclValidationError |
LCL114471 |
Language → Lexer → Fstrings → Syntax → Language version → invalid f string conversion | Invalid f-string conversion. | Parse source violating this rule in InternalFStringScanner.internal_conversion. |
Correct the syntax at the reported range. | FStringScanError |
LCL114491 |
Language → Lexer → Fstrings → Syntax → Other malformed source → Invalid f-string field or suffix | An f-string field cannot be separated into a valid expression and suffix. | InternalFStringScanner.internal_parts encounters this condition. |
Correct the syntax at the reported range. | FStringScanError |
LCL114492 |
Language → Lexer → Fstrings → Syntax → Other malformed source → unterminated quote in f string expression | Unterminated quote in f-string expression. | Parse source violating this rule in InternalFStringScanner.internal_skip_quoted. |
Correct the syntax at the reported range. | FStringScanError |
LCL114493 |
Language → Lexer → Fstrings → Syntax → Other malformed source → empty f string expression | Empty f-string expression. | Use an empty required value in InternalFStringScanner.internal_field. |
Correct the syntax at the reported range. | FStringScanError |
LCL114494 |
Language → Lexer → Fstrings → Syntax → Other malformed source → newline in single quoted f string | Newline in single-quoted f-string. | Parse source violating this rule in InternalFStringScanner.internal_parts. |
Correct the syntax at the reported range. | FStringScanError |
LCL114495 |
Language → Lexer → Fstrings → Syntax → Other malformed source → unmatched closing brace in f string | Unmatched closing brace in f-string. | Parse source violating this rule in InternalFStringScanner.internal_parts. |
Correct the syntax at the reported range. | FStringScanError |
LCL114496 |
Language → Lexer → Fstrings → Syntax → Other malformed source → mismatched delimiter in f string field | Mismatched delimiter in f-string field. | Exceed the named budget while InternalFStringScanner.internal_field runs. |
Correct the syntax at the reported range. | FStringScanError |
LCL114497 |
Language → Lexer → Fstrings → Syntax → Other malformed source → backslash in f string expression | Backslash in f-string expression. | Parse source violating this rule in InternalFStringScanner.internal_field. |
Correct the syntax at the reported range. | FStringScanError |
LCL114498 |
Language → Lexer → Fstrings → Syntax → Other malformed source → comment in f string expression | Comment in f-string expression. | Parse source violating this rule in InternalFStringScanner.internal_field. |
Correct the syntax at the reported range. | FStringScanError |
LCL114499 |
Language → Lexer → Fstrings → Syntax → Other malformed source → unterminated f string field | Unterminated f-string field. | Parse source violating this rule in InternalFStringScanner.internal_field. |
Correct the syntax at the reported range. | FStringScanError |
LCL114890 |
Language → Lexer → Fstrings → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during FStringScanError. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclSyntaxError / LclValidationError |
LCL115890 |
Language → Lexer → Validate token values → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during Token. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclValidationError |
LCL121221 |
Language → Parser → Parse expressions and tokens → Input value → Range violation → token lookahead offset cannot be negative | Token lookahead offset cannot be negative. | Call TokenStream.peek when offset < 0 is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL121261 |
Language → Parser → Parse expressions and tokens → Input value → Unsupported value → unsupported lcl language version | Unsupported LCL language version: the supplied value. | Call parse_tokens when version is not LCL_V1 is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL121271 |
Language → Parser → Parse expressions and tokens → Input value → Required structure → token stream requires a final eof token | Token stream requires a final EOF token. | Call TokenStream when not self._tokens or self._tokens[-1].kind is not TokenKind.EOF is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL121411 |
Language → Parser → Parse expressions and tokens → Syntax → Token or delimiter → unexpected trailing token | A closing delimiter is required. | Exceed the named budget while InternalPrattParser.parse runs. |
Correct the syntax at the reported range. | LclSyntaxError |
LCL121412 |
Language → Parser → Parse expressions and tokens → Syntax → Token or delimiter → expected separator | A separator or delimiter is required. | Exceed the named budget while TokenStream.expect runs. |
Correct the syntax at the reported range. | LclSyntaxError |
LCL121413 |
Language → Parser → Parse expressions and tokens → Syntax → Token or delimiter → expected keyword | A grammar keyword is required. | Parse source violating this rule in TokenStream.expect. |
Correct the syntax at the reported range. | LclSyntaxError |
LCL121414 |
Language → Parser → Parse expressions and tokens → Syntax → Token or delimiter → expected closer | Required closing delimiter is missing. | Exceed the named budget while TokenStream.expect runs. |
Correct the syntax at the reported range. | LclSyntaxError |
LCL121421 |
Language → Parser → Parse expressions and tokens → Syntax → Literal or escape → cannot mix adjacent text and bytes literals | Cannot mix adjacent text and bytes literals. | Parse source violating this rule in internal_parse_literal. |
Correct the syntax at the reported range. | LclSyntaxError |
LCL121431 |
Language → Parser → Parse expressions and tokens → Syntax → Parameter or binding → expected name | An identifier is required. | Parse source violating this rule in TokenStream.expect. |
Correct the syntax at the reported range. | LclSyntaxError |
LCL121491 |
Language → Parser → Parse expressions and tokens → Syntax → Other malformed source → expected an expression atom | An expression is missing an operand. | parse_expression("1 +") |
Complete the expression. | LclSyntaxError |
LCL121492 |
Language → Parser → Parse expressions and tokens → Syntax → Other malformed source → argument must be a complete expression | The supplied value must be a complete expression. | Parse source violating this rule in parse_tokens. |
Correct the syntax at the reported range. | LclSyntaxError |
LCL121890 |
Language → Parser → Parse expressions and tokens → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during parse_atom. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclSyntaxError / LclValidationError |
LCL122491 |
Language → Parser → Displays → Syntax → Other malformed source → mapping unpack is invalid in a sequence | Mapping unpack is invalid in a sequence. | Parse source violating this rule in InternalDisplayParser.internal_sequence_element. |
Correct the syntax at the reported range. | LclSyntaxError |
LCL122492 |
Language → Parser → Displays → Syntax → Other malformed source → iterable unpack is invalid in a dict | Iterable unpack is invalid in a dict. | Parse source violating this rule in InternalDisplayParser.internal_dict. |
Correct the syntax at the reported range. | LclSyntaxError |
LCL122493 |
Language → Parser → Displays → Syntax → Other malformed source → mapping unpack is invalid in a set | Mapping unpack is invalid in a set. | Parse source violating this rule in InternalDisplayParser.internal_set. |
Correct the syntax at the reported range. | LclSyntaxError |
LCL122494 |
Language → Parser → Displays → Syntax → Other malformed source → cannot mix set and dictionary entries | Cannot mix set and dictionary entries. | Parse source violating this rule in InternalDisplayParser.internal_set. |
Correct the syntax at the reported range. | LclSyntaxError |
LCL122890 |
Language → Parser → Displays → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during InternalDisplayParser. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclSyntaxError / LclValidationError |
LCL123431 |
Language → Parser → Bindings → Syntax → Parameter or binding → binding name cannot start with double underscore | Binding name cannot start with double underscore. | Parse source violating this rule in validate_binding_name. |
Correct the syntax at the reported range. | LclSyntaxError |
LCL123890 |
Language → Parser → Bindings → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during validate_binding_name. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclValidationError |
LCL124441 |
Language → Parser → Primaries → Syntax → Call arguments → positional argument follows keyword argument | Positional argument follows keyword argument. | Parse source violating this rule in InternalPrimaryParser.internal_argument. |
Correct the syntax at the reported range. | LclSyntaxError |
LCL124442 |
Language → Parser → Primaries → Syntax → Call arguments → star argument cannot follow keyword unpacking | Star argument cannot follow keyword unpacking. | Parse source violating this rule in InternalPrimaryParser.internal_argument. |
Correct the syntax at the reported range. | LclSyntaxError |
LCL124443 |
Language → Parser → Primaries → Syntax → Call arguments → keyword target must be a name | Keyword target must be a name. | Parse source violating this rule in InternalPrimaryParser.internal_argument. |
Correct the syntax at the reported range. | LclSyntaxError |
LCL124444 |
Language → Parser → Primaries → Syntax → Call arguments → duplicate keyword argument | Duplicate keyword argument. | Repeat the named declaration or value in InternalPrimaryParser.internal_argument. |
Correct the syntax at the reported range. | LclSyntaxError |
LCL124491 |
Language → Parser → Primaries → Syntax → Other malformed source → subscript cannot be empty | Subscript cannot be empty. | Use an empty required value in InternalPrimaryParser.internal_subscript. |
Correct the syntax at the reported range. | LclSyntaxError |
LCL124890 |
Language → Parser → Primaries → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during InternalPrimaryParser. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclSyntaxError / LclValidationError |
LCL125461 |
Language → Parser → Control forms → Syntax → Exception form → try form requires except or finally | Try form requires except or finally. | Parse source violating this rule in InternalControlFormParser.internal_try. |
Correct the syntax at the reported range. | LclSyntaxError |
LCL125462 |
Language → Parser → Control forms → Syntax → Exception form → bare except handler must be last | Bare except handler must be last. | Parse source violating this rule in InternalControlFormParser.internal_try. |
Correct the syntax at the reported range. | LclSyntaxError |
LCL125890 |
Language → Parser → Control forms → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during InternalControlFormParser. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclSyntaxError / LclValidationError |
LCL126491 |
Language → Parser → Fstrings → Syntax → Other malformed source → Invalid f-string replacement expression | An f-string replacement expression is malformed. | internal_parse_field_expression encounters this condition. |
Correct the syntax at the reported range. | LclSyntaxError |
LCL127451 |
Language → Parser → Comprehensions → Syntax → Display or comprehension → invalid dictionary comprehension head | Invalid dictionary comprehension head. | Parse source violating this rule in parse_comprehension. |
Correct the syntax at the reported range. | LclSyntaxError |
LCL127890 |
Language → Parser → Comprehensions → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during parse_comprehension. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclSyntaxError |
LCL128491 |
Language → Parser → Records → Syntax → Other malformed source → duplicate record field | Duplicate record field. | Repeat the named declaration or value in parse_record. |
Correct the syntax at the reported range. | LclSyntaxError |
LCL128890 |
Language → Parser → Records → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during parse_record. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclSyntaxError |
LCL129431 |
Language → Parser → Forms → Syntax → Parameter or binding → duplicate function parameter | Duplicate function parameter. | Repeat the named declaration or value in InternalFormParser.internal_parameter. |
Correct the syntax at the reported range. | LclSyntaxError |
LCL129432 |
Language → Parser → Forms → Syntax → Parameter or binding → parameter follows variadic keyword | Parameter follows variadic keyword. | Parse source violating this rule in InternalFormParser.internal_function. |
Correct the syntax at the reported range. | LclSyntaxError |
LCL129433 |
Language → Parser → Forms → Syntax → Parameter or binding → variadic parameter cannot have a default | Variadic parameter cannot have a default. | Parse source violating this rule in InternalFormParser.internal_parameter. |
Correct the syntax at the reported range. | LclSyntaxError |
LCL129434 |
Language → Parser → Forms → Syntax → Parameter or binding → required parameter follows default | Required parameter follows default. | Parse source violating this rule in InternalFormParser.internal_parameter. |
Correct the syntax at the reported range. | LclSyntaxError |
LCL129890 |
Language → Parser → Forms → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during InternalFormParser. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclSyntaxError / LclValidationError |
LCL130000 |
Language → Evaluator → Unspecified operation → Unspecified failure category → Unspecified cause → No further refinement | Default code for application-created failures of this family. | Construct LclEvaluationError("application failure") without a code override. |
Choose a specific application code when the application knows the reason. | LclEvaluationError |
LCL131111 |
Language → Evaluator → Evaluate operators → Input type → Operator operand types → operator type | An operator does not accept the operand types. | Call internal_wrap_failure with error=None for the required an operator does not accept the operand types. |
Supply the declared input type. | LclEvaluationError |
LCL131421 |
Language → Evaluator → Evaluate operators → Arithmetic failure → Arithmetic operation → division by zero | Division or remainder uses a zero denominator. | Request a definition containing 1 / 0. |
Check or handle zero before dividing. | LclEvaluationError |
LCL131422 |
Language → Evaluator → Evaluate operators → Arithmetic failure → Arithmetic operation → arithmetic failure | An arithmetic operation failed. | Parse source violating this rule in internal_wrap_failure. |
Correct the syntax at the reported range. | LclEvaluationError |
LCL131890 |
Language → Evaluator → Evaluate operators → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during EvaluationReadJournal. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclEvaluationError / LclValidationError |
LCL132111 |
Language → Evaluator → Invoke and await values → Input type → Text type → keyword unpacking requires string keys | Keyword unpacking requires string keys. | Call internal_merge_keywords with key=None for the required keyword unpacking requires string keys. |
Supply the declared input type. | LclEvaluationError |
LCL132121 |
Language → Evaluator → Invoke and await values → Input type → Mapping type → keyword unpacking requires a mapping | Keyword unpacking requires a mapping. | Call internal_merge_keywords with value=None for the required keyword unpacking requires a mapping. |
Supply the declared input type. | LclEvaluationError |
LCL132191 |
Language → Evaluator → Invoke and await values → Input type → Other input type → duplicate keyword argument | Duplicate keyword argument: the supplied value. | Call internal_check_duplicate with required input=None for the required duplicate keyword argument: the supplied value. |
Supply the declared input type. | LclEvaluationError |
LCL132192 |
Language → Evaluator → Invoke and await values → Input type → Other input type → unsupported call argument | Unsupported call argument. | Call internal_evaluate_call with argument=None for the required unsupported call argument. |
Supply the declared input type. | LclEvaluationError |
LCL132193 |
Language → Evaluator → Invoke and await values → Input type → Other input type → missing required argument | Missing required argument: the supplied value. | Call take_named with required input=None for the required missing required argument: the supplied value. |
Supply the declared input type. | LclEvaluationError |
LCL132194 |
Language → Evaluator → Invoke and await values → Input type → Other input type → too many positional arguments | Too many positional arguments. | Call bind_arguments with required input=None for the required too many positional arguments. |
Supply the declared input type. | LclEvaluationError |
LCL132195 |
Language → Evaluator → Invoke and await values → Input type → Other input type → unexpected keyword argument | Unexpected keyword argument: the supplied value. | Call bind_arguments with required input=None for the required unexpected keyword argument: the supplied value. |
Supply the declared input type. | LclEvaluationError |
LCL132196 |
Language → Evaluator → Invoke and await values → Input type → Other input type → multiple values for argument | Multiple values for argument: the supplied value. | Call bind_positional with required input=None for the required multiple values for argument: the supplied value. |
Supply the declared input type. | LclEvaluationError |
LCL132811 |
Language → Evaluator → Invoke and await values → External operation → Host callable → host call failure | A host callable failed. | Call internal_wrap_failure when isinstance(node, LclCall) is true. |
Inspect the retained cause and correct the failing operation. | LclErrorGroup (grouped failures) / LclEvaluationError |
LCL132890 |
Language → Evaluator → Invoke and await values → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during resolve_awaitable. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclEvaluationError / LclValidationError |
LCL133211 |
Language → Evaluator → Resolve names and context → Input value → Empty value → definition name cannot be empty | Definition name cannot be empty. | Use an empty required value in definition_scope. |
Correct the invalid value or declaration. | LclEvaluationError |
LCL133231 |
Language → Evaluator → Resolve names and context → Input value → Duplicate value → duplicate normalized binding name | Duplicate normalized binding name: the supplied value. | Repeat the named declaration or value in MappingResolver.resolve. |
Correct the invalid value or declaration. | LclEvaluationError |
LCL133311 |
Language → Evaluator → Resolve names and context → Name or attribute resolution → Missing or closed value → unknown variable | A requested attribute is missing. | In MappingResolver.resolve, trigger: a requested attribute is missing. |
Supply the name or correct the lookup. | LclNameError |
LCL133312 |
Language → Evaluator → Resolve names and context → Name or attribute resolution → Missing or closed value → missing key | A requested mapping key is missing. | Call internal_wrap_failure when isinstance(error, KeyError) is true. |
Supply the name or correct the lookup. | LclEvaluationError |
LCL133313 |
Language → Evaluator → Resolve names and context → Name or attribute resolution → Missing or closed value → index out of range | A requested sequence index is out of range. | Call internal_wrap_failure when isinstance(error, IndexError) is true. |
Supply the name or correct the lookup. | LclEvaluationError |
LCL133321 |
Language → Evaluator → Resolve names and context → Name or attribute resolution → Missing attribute → missing attribute | Attribute does not exist. | Call internal_wrap_failure when isinstance(error, AttributeError) is true. |
Supply the name or correct the lookup. | LclEvaluationError |
LCL133890 |
Language → Evaluator → Resolve names and context → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during MappingResolver. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclEvaluationError / LclValidationError |
LCL133991 |
Language → Evaluator → Resolve names and context → Invariant → Operation-specific failure → Definition name unavailable | The current definition name is unavailable in this scope. | lhs encounters this condition. |
Correct the violated declaration or operation constraint. | LclEvaluationError |
LCL134121 |
Language → Evaluator → Evaluate displays → Input type → Mapping type → unsupported dictionary display entry | Unsupported dictionary display entry. | Call internal_dictionary with entry=None for the required unsupported dictionary display entry. |
Supply the declared input type. | LclEvaluationError |
LCL134122 |
Language → Evaluator → Evaluate displays → Input type → Mapping type → dictionary unpacking requires a mapping | Dictionary unpacking requires a mapping. | Call internal_dictionary with value=None for the required dictionary unpacking requires a mapping. |
Supply the declared input type. | LclEvaluationError |
LCL135121 |
Language → Evaluator → Iterate and collect values → Input type → Mapping type → unsupported dictionary comprehension entry | Unsupported dictionary comprehension entry. | Call internal_dictionary with node.entry=None for the required unsupported dictionary comprehension entry. |
Supply the declared input type. | LclEvaluationError |
LCL135122 |
Language → Evaluator → Iterate and collect values → Input type → Mapping type → dictionary unpacking requires a mapping | Dictionary unpacking requires a mapping. | Call internal_dictionary with value=None for the required dictionary unpacking requires a mapping. |
Supply the declared input type. | LclEvaluationError |
LCL135191 |
Language → Evaluator → Iterate and collect values → Input type → Other input type → not iterable | Value supports neither synchronous nor asynchronous iteration. | Call iterate_values with value=None for the required value supports neither synchronous nor asynchronous iteration. |
Supply the declared input type. | LclEvaluationError |
LCL135811 |
Language → Evaluator → Iterate and collect values → External operation → Missing or closed value → iteration failure | Application iterator failed. | In iterate_values, trigger: application iterator failed. |
Inspect the retained cause and correct the failing operation. | LclErrorGroup (grouped failures) / LclEvaluationError |
LCL136961 |
Language → Evaluator → Execute error forms → Invariant → Explicit language failure → assertion failed | An LCL assertion condition is false. | Request a definition containing assert(false). |
Correct the condition or input. | LclEvaluationError |
LCL136962 |
Language → Evaluator → Execute error forms → Invariant → Explicit language failure → explicit raise | An LCL raise form raises its evaluated value. | Request a definition containing raise("stop"). |
Handle the intended failure or remove the raise. | LclErrorGroup (grouped failures) / LclEvaluationError |
LCL136963 |
Language → Evaluator → Execute error forms → Invariant → Explicit language failure → finalizer failure | An expression and its finalizer both failed. | Evaluate try: raise("body") finally: raise("cleanup"). |
Inspect both group members. | LclErrorGroup |
LCL137890 |
Language → Evaluator → Create lcl functions → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during LclFunctionValue. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclEvaluationError / LclValidationError |
LCL137921 |
Language → Evaluator → Create lcl functions → Invariant → Step or directory constraint → lcl function recursion is prohibited | LCL function recursion is prohibited. | Call LclFunctionValue.__call__ when key in active is true. |
Correct the violated declaration or operation constraint. | LclEvaluationError |
LCL138811 |
Language → Evaluator → Enter lcl contexts → External operation → Context protocol callback → context enter failure | An expression context manager failed during acquisition. | Evaluate a with expression whose enter method raises. |
Correct acquisition and inspect its native cause. | LclErrorGroup (grouped failures) / LclEvaluationError |
LCL138812 |
Language → Evaluator → Enter lcl contexts → External operation → Context protocol callback → context exit failure | An expression context manager failed during exit. | Evaluate a with expression whose exit method raises. |
Correct the resource exit method. | LclErrorGroup (grouped failures) / LclEvaluationError |
LCL138911 |
Language → Evaluator → Enter lcl contexts → Invariant → Combined expression and context failures → composite failure | An expression and its context exit both failed. | Use a failing body and a failing exit method in an LCL with. |
Inspect every execution and cleanup member. | LclErrorGroup |
LCL139811 |
Language → Evaluator → Dispatch expressions → External operation → Missing or closed value → evaluation native failure | A native operation failed after entering this boundary. | A supplied value or implementation raises during internal_wrap_failure. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclEvaluationError |
LCL139890 |
Language → Evaluator → Dispatch expressions → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during interpret_expression. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclEvaluationError |
LCL139991 |
Language → Evaluator → Dispatch expressions → Invariant → Operation-specific failure → expression value required | The supplied value needs a value. | Call internal_evaluate_node when get_override_marker(node) is not None is true. |
Correct the violated declaration or operation constraint. | LclEvaluationError |
LCL139992 |
Language → Evaluator → Dispatch expressions → Invariant → Operation-specific failure → unsupported ast node | Unsupported AST node: the supplied value. | Call internal_evaluate_node when isinstance(node, (LclBinary, LclCompare)) or (isinstance(node, LclUnary) and node.operator is not UnaryOperator.NOT) is true. |
Correct the violated declaration or operation constraint. | LclEvaluationError |
LCL141111 |
Language → Printer → Print expressions → Input type → Text type → joined string contains an unsupported | Joined string contains an unsupported value. | Call internal_joined with value=None for the required joined string contains an unsupported value. |
Supply the declared input type. | LclValidationError |
LCL141121 |
Language → Printer → Print expressions → Input type → Mapping type → dictionary contains an unsupported entry node | Dictionary contains an unsupported entry node. | Call internal_entry with required input=None for the required dictionary contains an unsupported entry node. |
Supply the declared input type. | LclValidationError |
LCL141191 |
Language → Printer → Print expressions → Input type → Other input type → unsupported constant | Unsupported constant value: the supplied value. | Call internal_constant with required input=None for the required unsupported constant value: the supplied value. |
Supply the declared input type. | LclValidationError |
LCL141192 |
Language → Printer → Print expressions → Input type → Other input type → unsupported ast node | Unsupported AST node: the supplied value. | Call internal_render with required input=None for the required unsupported ast node: the supplied value. |
Supply the declared input type. | LclValidationError |
LCL141193 |
Language → Printer → Print expressions → Input type → Other input type → call contains an unsupported argument node | Call contains an unsupported argument node. | Call internal_argument with required input=None for the required call contains an unsupported argument node. |
Supply the declared input type. | LclValidationError |
LCL141890 |
Language → Printer → Print expressions → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during render_atom. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclEvaluationError |
2: Runtime¶
| Code | Classification path | Cause | Minimal trigger | Handling | Exception type |
|---|---|---|---|---|---|
LCL211111 |
Runtime → Modules → Construct bindings → Input type → Text type → module name must be a string | Module name must be a string. | Call Module.mixin with name=None for the required module name must be a string. |
Supply the declared input type. | LclValidationError |
LCL211191 |
Runtime → Modules → Construct bindings → Input type → Other input type → module mixin source must be a module | Module mixin source must be a Module. | Call Module.mixin with other=None for the required module mixin source must be a module. |
Supply the declared input type. | LclValidationError |
LCL211211 |
Runtime → Modules → Construct bindings → Input value → Empty value → module name cannot be empty | Module name cannot be empty. | Use an empty required value in Module. |
Correct the invalid value or declaration. | LclValidationError |
LCL211890 |
Runtime → Modules → Construct bindings → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during Module. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclEvaluationError / LclValidationError |
LCL221191 |
Runtime → Presets → Construct bindings → Input type → Other input type → preset overlay requires another preset | Preset overlay requires another Preset. | Call Preset.overlay with other=None for the required preset overlay requires another preset. |
Supply the declared input type. | LclValidationError |
LCL221211 |
Runtime → Presets → Construct bindings → Input value → Empty value → preset name cannot be empty | Preset name cannot be empty. | Use an empty required value in Preset. |
Correct the invalid value or declaration. | LclValidationError |
LCL221890 |
Runtime → Presets → Construct bindings → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during Preset. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclEvaluationError / LclValidationError |
LCL230000 |
Runtime → Frames → Unspecified operation → Unspecified failure category → Unspecified cause → No further refinement | Default code for application-created failures of this family. | Construct LclNameError("application failure") without a code override. |
Choose a specific application code when the application knows the reason. | LclNameError |
LCL231111 |
Runtime → Frames → Construct frame → Input type → Text type → frame identifier must be a string | Frame identifier must be a string. | Call Frame with frame_id=None for the required frame identifier must be a string. |
Supply the declared input type. | LclValidationError |
LCL231121 |
Runtime → Frames → Construct frame → Input type → Mapping type → derived frame values must be a dictionary | Derived frame values must be a dictionary. | Call Frame.derive with values=None for the required derived frame values must be a dictionary. |
Supply the declared input type. | LclValidationError |
LCL231141 |
Runtime → Frames → Construct frame → Input type → Numeric or boolean type → native values flag must be boolean | Native-values flag must be Boolean. | Call Frame with native_values=None for the required native-values flag must be boolean. |
Supply the declared input type. | LclValidationError |
LCL231191 |
Runtime → Frames → Construct frame → Input type → Other input type → derived frame module must be a module | Derived frame module must be a Module. | Call Frame.derive with module=None for the required derived frame module must be a module. |
Supply the declared input type. | LclValidationError |
LCL231211 |
Runtime → Frames → Construct frame → Input value → Empty value → frame identifier cannot be empty | Frame identifier cannot be empty. | Use an empty required value in Frame. |
Correct the invalid value or declaration. | LclValidationError |
LCL231311 |
Runtime → Frames → Construct frame → Name or attribute resolution → Missing or closed value → unknown variable | Unknown variable: the supplied value. | Call Frame.recalculate when owner is None is true. |
Supply the name or correct the lookup. | LclNameError |
LCL231890 |
Runtime → Frames → Construct frame → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during Frame. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclEvaluationError / LclValidationError |
LCL231991 |
Runtime → Frames → Construct frame → Invariant → Operation-specific failure → frame proxy cannot be recalculated | Frame proxy cannot be recalculated: the supplied value. | Call Frame.recalculate when selected.kind == 'proxy' is true. |
Correct the violated declaration or operation constraint. | LclEvaluationError |
LCL231992 |
Runtime → Frames → Construct frame → Invariant → Operation-specific failure → host binding cannot be recalculated | Host binding cannot be recalculated: the supplied value. | Call Frame.recalculate when selected.kind == 'host' or name not in owner.module.definitions is true. |
Correct the violated declaration or operation constraint. | LclEvaluationError |
LCL232211 |
Runtime → Frames → Resolve bindings → Input value → Empty value → variable name cannot be empty | Variable name cannot be empty. | Use an empty required value in find_frame. |
Correct the invalid value or declaration. | LclValidationError |
LCL232281 |
Runtime → Frames → Resolve bindings → Input value → Cyclic value → frame parent cycle detected | Frame parent cycle detected. | Call walk_hierarchy when identity in seen is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL232890 |
Runtime → Frames → Resolve bindings → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during local_binding_kind. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclEvaluationError / LclValidationError |
LCL233111 |
Runtime → Frames → Evaluate → Input type → Text type → frame expression must be a string | Frame expression must be a string. | Call evaluate_expression with expr=None for the required frame expression must be a string. |
Supply the declared input type. | LclValidationError |
LCL233211 |
Runtime → Frames → Evaluate → Input value → Empty value → variable name cannot be empty | Variable name cannot be empty. | Use an empty required value in get_value. |
Correct the invalid value or declaration. | LclValidationError |
LCL233311 |
Runtime → Frames → Evaluate → Name or attribute resolution → Missing or closed value → unknown variable | The requested binding is absent. | Request a definition containing an undeclared name. | Supply the binding or correct its name. | LclNameError |
LCL233890 |
Runtime → Frames → Evaluate → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during get_value. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclEvaluationError |
LCL233991 |
Runtime → Frames → Evaluate → Invariant → Operation-specific failure → Evaluation dependency cycle | The active evaluation path contains a circular dependency. | internal_check_cycle encounters this condition. |
Correct the violated declaration or operation constraint. | LclCircularDependencyError |
LCL234211 |
Runtime → Frames → Read snapshots → Input value → Empty value → variable name cannot be empty | Variable name cannot be empty. | Use an empty required value in dependency_snapshot. |
Correct the invalid value or declaration. | LclValidationError |
LCL234311 |
Runtime → Frames → Read snapshots → Name or attribute resolution → Missing or closed value → unknown variable | Unknown variable: the supplied value. | Call dependency_snapshot when owner is None is true. |
Supply the name or correct the lookup. | LclNameError |
LCL234890 |
Runtime → Frames → Read snapshots → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during InternalFrameDependencies. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclEvaluationError / LclValidationError |
LCL234991 |
Runtime → Frames → Read snapshots → Invariant → Operation-specific failure → host binding has no dependency snapshot | Host binding has no dependency snapshot: the supplied value. | In dependency_snapshot, trigger: host binding has no dependency snapshot: the supplied value. |
Correct the violated declaration or operation constraint. | LclEvaluationError |
LCL234992 |
Runtime → Frames → Read snapshots → Invariant → Operation-specific failure → frame proxy has no dependency snapshot | Frame proxy has no dependency snapshot: the supplied value. | Call dependency_snapshot when selected.kind == 'proxy' is true. |
Correct the violated declaration or operation constraint. | LclEvaluationError |
LCL236611 |
Runtime → Frames → Close frame → State → Missing or closed value → frame is closed | Default for explicitly constructed LclClosedFrameError. | Call LclClosedFrameError when self.closing or self.closed is true. |
Use the operation in its supported lifecycle state. | LclClosedFrameError |
LCL236811 |
Runtime → Frames → Close frame → External operation → Cached resource cleanup → resource cleanup failure | An owned cached resource close callback failed. | Cache a value whose close raises, then close its Frame. |
Inspect the close callback cause; Frame state has been cleared. | LclErrorGroup (grouped failures) / LclEvaluationError |
LCL236890 |
Runtime → Frames → Close frame → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during InternalFrameLifecycle. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclEvaluationError / LclValidationError |
LCL236911 |
Runtime → Frames → Close frame → Invariant → Combined Frame failures → multiple cleanup failures | Several owned cached resources failed during cleanup. | Cache two resources with failing close callbacks. | Inspect every member; all resources have been attempted. | LclErrorGroup |
LCL236912 |
Runtime → Frames → Close frame → Invariant → Combined Frame failures → scope cleanup failure | A Frame scope body and its resource cleanup both failed. | Raise in a Frame scope whose cached resource also fails to close. | Inspect both execution and cleanup failures. | LclErrorGroup |
LCL237221 |
Runtime → Frames → Enforce limits → Input value → Range violation → evaluation limits must be positive integers | Evaluation limits must be positive integers. | Exceed the named budget while EvaluationLimits runs. |
Correct the invalid value or declaration. | LclValidationError |
LCL237511 |
Runtime → Frames → Enforce limits → Work limit → Missing or closed value → evaluation depth limit exceeded | Evaluation depth limit exceeded. | Exceed the named budget while InternalEvaluationBudget.enter runs. |
Inspect the workload and adjust the relevant limit. | LclEvaluationError |
LCL237521 |
Runtime → Frames → Enforce limits → Work limit → Step or directory constraint → evaluation step limit exceeded | Evaluation step limit exceeded. | Exceed the named budget while InternalEvaluationBudget.enter runs. |
Inspect the workload and adjust the relevant limit. | LclEvaluationError |
LCL237591 |
Runtime → Frames → Enforce limits → Work limit → Operation-specific failure → collection item limit exceeded | Collection item limit exceeded. | Exceed the named budget while InternalEvaluationBudget.collection runs. |
Inspect the workload and adjust the relevant limit. | LclEvaluationError |
LCL237890 |
Runtime → Frames → Enforce limits → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during EvaluationLimits. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclEvaluationError / LclValidationError |
LCL238111 |
Runtime → Frames → Publish bindings → Input type → Text type → frame mixin names must be strings | Frame mixin names must be strings. | Call update_host_bindings with name=None for the required frame mixin names must be strings. |
Supply the declared input type. | LclValidationError |
LCL238121 |
Runtime → Frames → Publish bindings → Input type → Mapping type → frame mixin values must be a dictionary | Frame mixin values must be a dictionary. | Call update_host_bindings with values=None for the required frame mixin values must be a dictionary. |
Supply the declared input type. | LclValidationError |
LCL238211 |
Runtime → Frames → Publish bindings → Input value → Empty value → host binding name cannot be empty | Host binding name cannot be empty. | Use an empty required value in update_host_bindings. |
Correct the invalid value or declaration. | LclValidationError |
LCL238890 |
Runtime → Frames → Publish bindings → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during DefaultScope. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclEvaluationError / LclValidationError |
LCL239191 |
Runtime → Frames → Create frames → Input type → Other input type → framefactory module must be a module | FrameFactory module must be a Module. | Call FrameFactory with self.module=None for the required framefactory module must be a module. |
Supply the declared input type. | LclValidationError |
LCL239192 |
Runtime → Frames → Create frames → Input type → Other input type → framefactory preset must be a preset | FrameFactory preset must be a Preset. | Call FrameFactory with self.preset=None for the required framefactory preset must be a preset. |
Supply the declared input type. | LclValidationError |
LCL239193 |
Runtime → Frames → Create frames → Input type → Other input type → framefactory limits must be evaluationlimits | FrameFactory limits must be EvaluationLimits. | Call FrameFactory with self.limits=None for the required framefactory limits must be evaluationlimits. |
Supply the declared input type. | LclValidationError |
LCL239194 |
Runtime → Frames → Create frames → Input type → Other input type → framefactory parent must be a frame | FrameFactory parent must be a Frame. | Call FrameFactory with self.parent=None for the required framefactory parent must be a frame. |
Supply the declared input type. | LclValidationError |
LCL239195 |
Runtime → Frames → Create frames → Input type → Other input type → frame limits must be evaluationlimits | Frame limits must be EvaluationLimits. | Call FrameFactory.create with limits=None for the required frame limits must be evaluationlimits. |
Supply the declared input type. | LclValidationError |
LCL239196 |
Runtime → Frames → Create frames → Input type → Other input type → frame parent must be a frame | Frame parent must be a Frame. | Call FrameFactory.create with parent=None for the required frame parent must be a frame. |
Supply the declared input type. | LclValidationError |
LCL239890 |
Runtime → Frames → Create frames → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during FrameFactory. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclEvaluationError / LclValidationError |
LCL241191 |
Runtime → Dependencies → Tracing → Input type → Other input type → dependency graph source must be a module or frame | Dependency graph source must be a Module or Frame. | Call build_dependency_graph with required input=None for the required dependency graph source must be a module or frame. |
Supply the declared input type. | LclValidationError |
LCL241211 |
Runtime → Dependencies → Tracing → Input value → Empty value → dependency graph definitions must be unique and non empty | Dependency graph definitions must be unique and non-empty. | Use an empty required value in DependencyGraph. |
Correct the invalid value or declaration. | LclValidationError |
LCL241212 |
Runtime → Dependencies → Tracing → Input value → Empty value → dependency snapshot source cannot be empty | Dependency snapshot source cannot be empty. | Use an empty required value in DependencySnapshot. |
Correct the invalid value or declaration. | LclValidationError |
LCL241271 |
Runtime → Dependencies → Tracing → Input value → Required structure → dependency edge source must be a local definition | Dependency edge source must be a local definition. | Call DependencyGraph when any((str(edge.source) not in local for edge in self.edges)) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL241291 |
Runtime → Dependencies → Tracing → Input value → Other invalid value → dependency snapshot edge source does not match | Dependency snapshot edge source does not match. | Call DependencySnapshot when any((edge.source != self.source for edge in edges)) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL241292 |
Runtime → Dependencies → Tracing → Input value → Other invalid value → dependency snapshot reconciliation does not match | Dependency snapshot reconciliation does not match. | Call DependencySnapshot when self.reconciliation != expected is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL241311 |
Runtime → Dependencies → Tracing → Name or attribute resolution → Missing or closed value → unknown graph definition | Unknown graph definition: the supplied value. | Call DependencyGraph.dependencies when source not in {str(name) for name in self.definitions} is true. |
Supply the name or correct the lookup. | LclNameError |
LCL241890 |
Runtime → Dependencies → Tracing → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during analyze_dependencies. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclEvaluationError / LclValidationError |
LCL242890 |
Runtime → Dependencies → Ordering → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during topological_order. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclEvaluationError |
LCL242991 |
Runtime → Dependencies → Ordering → Invariant → Operation-specific failure → Dependency graph cycle | Dependency ordering contains a cycle. | topological_order encounters this condition. |
Correct the violated declaration or operation constraint. | LclCircularDependencyError |
LCL243211 |
Runtime → Dependencies → Model → Input value → Empty value → frame binding path cannot be empty | Frame binding path cannot be empty. | Use an empty required value in DependencyReference. |
Correct the invalid value or declaration. | LclValidationError |
LCL243271 |
Runtime → Dependencies → Model → Input value → Required structure → frame binding kind must be a framebindingkind | Frame binding kind must be a FrameBindingKind. | Call FrameDependencyBinding when not isinstance(self.kind, FrameBindingKind) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL243272 |
Runtime → Dependencies → Model → Input value → Required structure → frame dependency source must be a definition | Frame dependency source must be a definition. | Call FrameDependencyEdge when self.source.kind is not FrameBindingKind.DEFINITION is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL243273 |
Runtime → Dependencies → Model → Input value → Required structure → resolved frame target name must match the request | Resolved Frame target name must match the request. | Call FrameDependencyEdge when self.target is not None and self.target.name != self.target_name is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL243274 |
Runtime → Dependencies → Model → Input value → Required structure → frame dependency kind must be a dependencykind | Frame dependency kind must be a DependencyKind. | Call FrameDependencyEdge when not isinstance(self.kind, DependencyKind) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL243275 |
Runtime → Dependencies → Model → Input value → Required structure → frame dependency definitions must be unique | Frame dependency definitions must be unique. | Call FrameDependencyGraph when len(set(self.definitions)) != len(self.definitions) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL243276 |
Runtime → Dependencies → Model → Input value → Required structure → frame dependency values must be unique | Frame dependency values must be unique. | Call FrameDependencyGraph when len(set(self.values)) != len(self.values) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL243277 |
Runtime → Dependencies → Model → Input value → Required structure → frame dependency edge source must be a definition | Frame dependency edge source must be a definition. | Call FrameDependencyGraph when any((edge.source not in definitions for edge in self.edges)) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL243278 |
Runtime → Dependencies → Model → Input value → Required structure → frame dependency edge target must belong to the graph | Frame dependency edge target must belong to the graph. | Call FrameDependencyGraph when any((edge.target not in bindings for edge in self.edges if edge.target)) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL243279 |
Runtime → Dependencies → Model → Input value → Required structure → dependency kind must be a dependencykind | Dependency kind must be a DependencyKind. | Call DependencyReference when not isinstance(self.kind, DependencyKind) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL243311 |
Runtime → Dependencies → Model → Name or attribute resolution → Missing or closed value → unknown frame graph definition | Unknown Frame graph definition: the supplied value. | Call FrameDependencyGraph.dependencies when source not in self.definitions is true. |
Supply the name or correct the lookup. | LclNameError |
LCL243890 |
Runtime → Dependencies → Model → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during DependencyReference. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclEvaluationError / LclValidationError |
LCL243960 |
Runtime → Dependencies → Model → Invariant → Cycle or explicit failure → No further refinement | Default for explicitly constructed LclCircularDependencyError. | In LclCircularDependencyError, trigger: default for explicitly constructed lclcirculardependencyerror. |
Correct the violated declaration or operation constraint. | LclCircularDependencyError |
LCL244890 |
Runtime → Dependencies → Resolve dependencies → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during build_frame_dependency_graph. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclEvaluationError |
LCL245271 |
Runtime → Dependencies → Reconciliation → Input value → Required structure → dynamic dependency edges must use the dynamic kind | Dynamic dependency edges must use the dynamic kind. | Call reconcile_dependency_edges when any((edge.kind is not DependencyKind.DYNAMIC for edge in dynamic_edges)) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL245291 |
Runtime → Dependencies → Reconciliation → Input value → Other invalid value → static dependency edges cannot be dynamic | Static dependency edges cannot be dynamic. | Call reconcile_dependency_edges when any((edge.kind is DependencyKind.DYNAMIC for edge in static_edges)) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL245890 |
Runtime → Dependencies → Reconciliation → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during DependencyReconciliation. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclEvaluationError / LclValidationError |
LCL251111 |
Runtime → Inspection → Inspect values → Input type → Text type → variable name must be a string | Variable name must be a string. | Call inspect_variable with var_name=None for the required variable name must be a string. |
Supply the declared input type. | LclValidationError |
LCL251141 |
Runtime → Inspection → Inspect values → Input type → Numeric or boolean type → inspection depth must be an integer | Inspection depth must be an integer. | Call VariableInspectionTree.to_lines with depth=None for the required inspection depth must be an integer. |
Supply the declared input type. | LclValidationError |
LCL251211 |
Runtime → Inspection → Inspect values → Input value → Empty value → variable name cannot be empty | Variable name cannot be empty. | Use an empty required value in inspect_variable. |
Correct the invalid value or declaration. | LclValidationError |
LCL251221 |
Runtime → Inspection → Inspect values → Input value → Range violation → inspection depth cannot be negative | Inspection depth cannot be negative. | Call VariableInspectionTree.to_lines when depth < 0 is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL251311 |
Runtime → Inspection → Inspect values → Name or attribute resolution → Missing or closed value → unknown variable | Unknown variable: the supplied value. | Call build_inspection_tree when owner is None is true. |
Supply the name or correct the lookup. | LclNameError |
LCL251890 |
Runtime → Inspection → Inspect values → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during build_inspection_tree. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclEvaluationError / LclValidationError |
LCL261111 |
Runtime → Proxies → Access proxy → Input type → Text type → frameproxy index must be text | FrameProxy index must be text. | Call FrameProxy.__getitem__ with name=None for the required frameproxy index must be text. |
Supply the declared input type. | LclValidationError |
LCL261151 |
Runtime → Proxies → Access proxy → Input type → Record type → frameproxy record type must be a dataclass | FrameProxy record type must be a dataclass. | Call FrameProxy.as_record with cls=None for the required frameproxy record type must be a dataclass. |
Supply the declared input type. | LclValidationError |
LCL261311 |
Runtime → Proxies → Access proxy → Name or attribute resolution → Missing or closed value → unknown variable | Unknown variable: the supplied value. | Call FrameProxy.resolve_attribute when owner is None is true. |
Supply the name or correct the lookup. | LclNameError |
LCL261391 |
Runtime → Proxies → Access proxy → Name or attribute resolution → Operation-specific failure → Private proxy attribute unavailable | The proxy attribute is private or unavailable. | FrameProxy.__getattr__ encounters this condition. |
Supply the name or correct the lookup. | LclAttributeError |
LCL261392 |
Runtime → Proxies → Access proxy → Name or attribute resolution → Operation-specific failure → Proxy child binding absent | The proxy child binding is absent. | FrameProxy.__getattr__ encounters this condition. |
Supply the name or correct the lookup. | LclAttributeError |
LCL261890 |
Runtime → Proxies → Access proxy → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during FrameProxy. |
Inspect the native cause and the operation note. | LclAttributeError / LclErrorGroup (grouped failures) / LclEvaluationError / LclValidationError |
3: Configuration¶
| Code | Classification path | Cause | Minimal trigger | Handling | Exception type |
|---|---|---|---|---|---|
LCL300000 |
Configuration → Unspecified subsystem → Unspecified operation → Unspecified failure category → Unspecified cause → No further refinement | Default code for application-created failures of this family. | Construct LclConfigError("application failure") without a code override. |
Choose a specific application code when the application knows the reason. | LclConfigError |
LCL310000 |
Configuration → Configuration syntax → Unspecified operation → Unspecified failure category → Unspecified cause → No further refinement | Default code for application-created failures of this family. | Construct LclConfigSyntaxError("application failure") without a code override. |
Choose a specific application code when the application knows the reason. | LclConfigSyntaxError |
LCL311111 |
Configuration → Configuration syntax → Parser → Input type → Text type → config text must be a string | Config text must be a string. | Call parse_config with text=None for the required config text must be a string. |
Supply the declared input type. | LclValidationError |
LCL311211 |
Configuration → Configuration syntax → Parser → Input value → Empty value → config source name cannot be empty | Config source name cannot be empty. | Use an empty required value in parse_config. |
Correct the invalid value or declaration. | LclValidationError |
LCL311271 |
Configuration → Configuration syntax → Parser → Input value → Required structure → config source path must end in lclcfg | Config source path must end in .lclcfg. | Call normalize_source_path when path.suffix != '.lclcfg' is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL311481 |
Configuration → Configuration syntax → Parser → Syntax → Declaration → definition requires colon | Definition requires colon. | Parse source violating this rule in parse_definition. |
Correct the syntax at the reported range. | LclConfigSyntaxError |
LCL311482 |
Configuration → Configuration syntax → Parser → Syntax → Declaration → definition requires an expression | Definition requires an expression. | Parse source violating this rule in parse_definition. |
Correct the syntax at the reported range. | LclConfigSyntaxError |
LCL311890 |
Configuration → Configuration syntax → Parser → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during parse_config. |
Inspect the native cause and the operation note. | LclConfigError / LclErrorGroup (grouped failures) |
LCL311991 |
Configuration → Configuration syntax → Parser → Invariant → Operation-specific failure → version metadata must be first | Version metadata must be first. | Call parse_document when meaningful_seen or version_seen is true. |
Correct the violated declaration or operation constraint. | LclConfigVersionError |
LCL312481 |
Configuration → Configuration syntax → Lines → Syntax → Declaration → continued definition requires another physical line | Continued definition requires another physical line. | Parse source violating this rule in scan_logical_lines. |
Correct the syntax at the reported range. | LclConfigSyntaxError |
LCL312491 |
Configuration → Configuration syntax → Lines → Syntax → Other malformed source → blank or comment only continuation fragment | Blank or comment-only continuation fragment. | Parse source violating this rule in scan_logical_lines. |
Correct the syntax at the reported range. | LclConfigSyntaxError |
LCL312890 |
Configuration → Configuration syntax → Lines → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during LogicalLine. |
Inspect the native cause and the operation note. | LclConfigError / LclErrorGroup (grouped failures) / LclValidationError |
LCL313421 |
Configuration → Configuration syntax → Declarations → Syntax → Literal or escape → source declaration requires one string or fstring | The supplied value requires exactly one string literal or f-string. | Parse source violating this rule in parse_using. |
Correct the syntax at the reported range. | LclConfigSyntaxError |
LCL313470 |
Configuration → Configuration syntax → Declarations → Syntax → Language version → No further refinement | Default for explicitly constructed LclConfigVersionError. | Parse source violating this rule in LclConfigVersionError. |
Correct the syntax at the reported range. | LclConfigVersionError |
LCL313481 |
Configuration → Configuration syntax → Declarations → Syntax → Declaration → source declaration cannot continue | The supplied value declaration cannot continue. | Parse source violating this rule in parse_using. |
Correct the syntax at the reported range. | LclConfigSyntaxError |
LCL313482 |
Configuration → Configuration syntax → Declarations → Syntax → Declaration → invalid or reserved config definition name | Invalid or reserved config definition name. | Parse source violating this rule in validate_definition_name. |
Correct the syntax at the reported range. | LclConfigSyntaxError |
LCL313491 |
Configuration → Configuration syntax → Declarations → Syntax → Other malformed source → source target must be nonempty text | The supplied value target must be non-empty text. | Use an empty required value in parse_using. |
Correct the syntax at the reported range. | LclConfigSyntaxError |
LCL313492 |
Configuration → Configuration syntax → Declarations → Syntax → Other malformed source → source target must end in lclcfg | The supplied value target must end in .lclcfg. | Parse source violating this rule in parse_using. |
Correct the syntax at the reported range. | LclConfigSyntaxError |
LCL313890 |
Configuration → Configuration syntax → Declarations → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during parse_version. |
Inspect the native cause and the operation note. | LclConfigError / LclErrorGroup (grouped failures) / LclValidationError |
LCL313991 |
Configuration → Configuration syntax → Declarations → Invariant → Operation-specific failure → version metadata cannot continue | Version metadata cannot continue. | Call parse_version when line.continued is true. |
Correct the violated declaration or operation constraint. | LclConfigVersionError |
LCL313992 |
Configuration → Configuration syntax → Declarations → Invariant → Operation-specific failure → version metadata requires colon | Version metadata requires colon. | Call parse_version when not rest.lstrip(' \t\x0c').startswith(':') is true. |
Correct the violated declaration or operation constraint. | LclConfigVersionError |
LCL313993 |
Configuration → Configuration syntax → Declarations → Invariant → Operation-specific failure → version metadata requires one integer | Version metadata requires one integer. | Call parse_version when len(tokens) != 2 or tokens[0].kind is not TokenKind.INTEGER is true. |
Correct the violated declaration or operation constraint. | LclConfigVersionError |
LCL313994 |
Configuration → Configuration syntax → Declarations → Invariant → Operation-specific failure → unsupported config version | Unsupported config version. | Call parse_version when tokens[0].value != 1 is true. |
Correct the violated declaration or operation constraint. | LclConfigVersionError |
LCL314481 |
Configuration → Configuration syntax → Imports → Syntax → Declaration → import declaration cannot continue | Import declaration cannot continue. | Parse source violating this rule in parse_import. |
Correct the syntax at the reported range. | LclConfigSyntaxError |
LCL314491 |
Configuration → Configuration syntax → Imports → Syntax → Other malformed source → import requires one static alias after as | Import requires one static alias after 'as'. | Parse source violating this rule in parse_import. |
Correct the syntax at the reported range. | LclConfigSyntaxError |
LCL314890 |
Configuration → Configuration syntax → Imports → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during parse_import. |
Inspect the native cause and the operation note. | LclConfigError / LclErrorGroup (grouped failures) |
LCL315491 |
Configuration → Configuration syntax → Expressions → Syntax → Other malformed source → file magic requires a physical source path | File magic requires a physical source path. | Parse source violating this rule in replace_magic_nodes. |
Correct the syntax at the reported range. | LclConfigSyntaxError |
LCL315890 |
Configuration → Configuration syntax → Expressions → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during parse_config_expression. |
Inspect the native cause and the operation note. | LclConfigError / LclErrorGroup (grouped failures) |
LCL320000 |
Configuration → Source loading → Unspecified operation → Unspecified failure category → Unspecified cause → No further refinement | Default code for application-created failures of this family. | Construct LclConfigUsingError("application failure") without a code override. |
Choose a specific application code when the application knows the reason. | LclConfigUsingError |
LCL321711 |
Configuration → Source loading → Files → File access → Source availability → file missing | The requested configuration file does not exist. | await load_config("absent.lclcfg") when the path is absent. |
Correct the path or create the required file. | LclConfigUsingError |
LCL321712 |
Configuration → Source loading → Files → File access → Source availability → file permission | Filesystem access is denied. | Read an existing config whose stat or read raises PermissionError. |
Restore the required file access. | LclConfigUsingError |
LCL321721 |
Configuration → Source loading → Files → File access → Source decoding → file encoding | Configuration bytes are not valid UTF-8. | Load a config containing the byte 0xff. |
Save the file as UTF-8. | LclConfigUsingError |
LCL321791 |
Configuration → Source loading → Files → File access → Operation-specific failure → config path is outside the allowed root | The configuration path escapes the allowed root. | Resolve a path outside FileConfigResolver(allowed_root). |
Use a path inside the declared root. | LclConfigUsingError |
LCL321792 |
Configuration → Source loading → Files → File access → Operation-specific failure → read file source failure | The configuration path is a directory. | Load a directory named settings.lclcfg. |
Select a regular config file. | LclConfigUsingError |
LCL321793 |
Configuration → Source loading → Files → File access → Operation-specific failure → config path is not a regular file | The configuration path is neither a directory nor a regular file. | Load a non-regular filesystem entry ending in .lclcfg. |
Select a regular config file. | LclConfigUsingError |
LCL321794 |
Configuration → Source loading → Files → File access → Operation-specific failure → file read failure | A filesystem metadata or read operation failed. | Read a config when Path.read_bytes raises OSError. |
Check the filesystem and retry. | LclError |
LCL321890 |
Configuration → Source loading → Files → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during FileConfigResolver. |
Inspect the native cause and the operation note. | LclConfigError / LclErrorGroup (grouped failures) / LclValidationError |
LCL322111 |
Configuration → Source loading → Sources → Input type → Text type → config path must be text or path | Config path must be text or Path. | Call canonical_config_path with path=None for the required config path must be text or path. |
Supply the declared input type. | LclValidationError |
LCL322211 |
Configuration → Source loading → Sources → Input value → Empty value → resolved config identity cannot be empty | Resolved config identity cannot be empty. | Use an empty required value in ResolvedConfigSource. |
Correct the invalid value or declaration. | LclValidationError |
LCL322271 |
Configuration → Source loading → Sources → Input value → Required structure → resolved config path must be a path | Resolved config path must be a Path. | Call ResolvedConfigSource when not isinstance(self.path, Path) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL322272 |
Configuration → Source loading → Sources → Input value → Required structure → resolved config path must end in lclcfg | Resolved config path must end in .lclcfg. | Call ResolvedConfigSource when path.suffix != '.lclcfg' is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL322273 |
Configuration → Source loading → Sources → Input value → Required structure → resolved config text must be unicode | Resolved config text must be Unicode. | Call ResolvedConfigSource when not isinstance(self.text, str) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL322890 |
Configuration → Source loading → Sources → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during ResolvedConfigSource. |
Inspect the native cause and the operation note. | LclConfigError / LclErrorGroup (grouped failures) / LclValidationError |
LCL322981 |
Configuration → Source loading → Sources → Invariant → Target constraint → using target must end in lclcfg | Using target must end in .lclcfg. | Call resolve_using_path when normalized.suffix != '.lclcfg' is true. |
Correct the violated declaration or operation constraint. | LclConfigUsingError |
LCL322991 |
Configuration → Source loading → Sources → Invariant → Operation-specific failure → config path must end in lclcfg | Config path must end in .lclcfg. | Call canonical_config_path when normalized.suffix != '.lclcfg' is true. |
Correct the violated declaration or operation constraint. | LclConfigUsingError |
LCL323151 |
Configuration → Source loading → Loader → Input type → Record type → resolver result type | A source resolver returned the wrong result type. | Return a dictionary from ConfigSourceResolver.resolve. |
Return a validated ResolvedConfigSource. |
LclValidationError |
LCL323191 |
Configuration → Source loading → Loader → Input type → Other input type → declaration type | Loading encountered an unsupported declaration type. | Supply a parsed declaration outside the supported config variants. | Use ConfigDefinition, ConfigUsing, or ConfigImport. | LclValidationError |
LCL323511 |
Configuration → Source loading → Loader → Work limit → Missing or closed value → config using depth limit exceeded | Config using depth limit exceeded. | Exceed the named budget while ConfigLoader.expand runs. |
Inspect the workload and adjust the relevant limit. | LclConfigLimitError |
LCL323531 |
Configuration → Source loading → Loader → Work limit → Source constraint → config source limit exceeded | Config source limit exceeded. | Exceed the named budget while ConfigLoader.source_for runs. |
Inspect the workload and adjust the relevant limit. | LclConfigLimitError |
LCL323541 |
Configuration → Source loading → Loader → Work limit → Character constraint → config character limit exceeded | Config character limit exceeded. | Exceed the named budget while ConfigLoader.resolve_and_parse runs. |
Inspect the workload and adjust the relevant limit. | LclConfigLimitError |
LCL323551 |
Configuration → Source loading → Loader → Work limit → Declaration constraint → config declaration limit exceeded | Config declaration limit exceeded. | Exceed the named budget while ConfigLoader.resolve_and_parse runs. |
Inspect the workload and adjust the relevant limit. | LclConfigLimitError |
LCL323600 |
Configuration → Source loading → Loader → State → Unspecified cause → No further refinement | Default for explicitly constructed LclConfigLifecycleError. | In LclConfigLifecycleError, trigger: default for explicitly constructed lclconfiglifecycleerror. |
Use the operation in its supported lifecycle state. | LclConfigLifecycleError |
LCL323691 |
Configuration → Source loading → Loader → State → Operation-specific failure → config loader cannot cross event loops | Config loader cannot cross event loops. | Call ConfigLoader.ensure_loop when self.loop is not current is true. |
Use the operation in its supported lifecycle state. | LclConfigLifecycleError |
LCL323890 |
Configuration → Source loading → Loader → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during ConfigLoader. |
Inspect the native cause and the operation note. | LclConfigError / LclErrorGroup (grouped failures) / LclValidationError |
LCL323891 |
Configuration → Source loading → Loader → External operation → Native boundary failure → loading failure | A native loading failure needs structured context. | Attach a loading frame to a native ValueError. |
Inspect its original cause and loading placement. | LclConfigError / LclErrorGroup (grouped failures) |
LCL323931 |
Configuration → Source loading → Loader → Invariant → Source constraint → cannot load config source | Cannot load config source the supplied value. | In ConfigLoader.resolve_and_parse, trigger: cannot load config source the supplied value. |
Correct the violated declaration or operation constraint. | LclConfigUsingError |
LCL323960 |
Configuration → Source loading → Loader → Invariant → Cycle or explicit failure → No further refinement | Default for explicitly constructed LclConfigCycleError. | In LclConfigCycleError, trigger: default for explicitly constructed lclconfigcycleerror. |
Correct the violated declaration or operation constraint. | LclConfigCycleError |
LCL323961 |
Configuration → Source loading → Loader → Invariant → Cycle or explicit failure → config using cycle join cycle | 'config using cycle: ' + ' -> '.join(cycle). | Call ConfigLoader.expand when identity in stack is true. |
Correct the violated declaration or operation constraint. | LclConfigCycleError |
LCL324111 |
Configuration → Source loading → Using → Input type → Text type → config using override names must be strings | Config using override names must be strings. | Call snapshot_using_overrides with name=None for the required config using override names must be strings. |
Supply the declared input type. | LclValidationError |
LCL324121 |
Configuration → Source loading → Using → Input type → Mapping type → config using overrides must be a mapping | Config using overrides must be a mapping. | Call snapshot_using_overrides with overrides=None for the required config using overrides must be a mapping. |
Supply the declared input type. | LclValidationError |
LCL324890 |
Configuration → Source loading → Using → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during snapshot_using_overrides. |
Inspect the native cause and the operation note. | LclConfigError / LclErrorGroup (grouped failures) |
LCL324981 |
Configuration → Source loading → Using → Invariant → Target constraint → using target must evaluate to non empty text | Using target must evaluate to non-empty text. | Use an empty required value in evaluate_using_target. |
Correct the violated declaration or operation constraint. | LclConfigUsingError |
LCL324982 |
Configuration → Source loading → Using → Invariant → Target constraint → using target must end in lclcfg | Using target must end in .lclcfg. | Call evaluate_using_target when Path(result).suffix != '.lclcfg' is true. |
Correct the violated declaration or operation constraint. | LclConfigUsingError |
LCL324983 |
Configuration → Source loading → Using → Invariant → Target constraint → cannot evaluate file target | Cannot evaluate file target. | Call evaluate_using_target when isinstance(error, ExceptionGroup) is true. |
Correct the violated declaration or operation constraint. | LclConfigUsingError |
LCL325221 |
Configuration → Source loading → Limits → Input value → Range violation → config load limits must be positive integers | Config load limits must be positive integers. | Exceed the named budget while ConfigLoadLimits runs. |
Correct the invalid value or declaration. | LclValidationError |
LCL325500 |
Configuration → Source loading → Limits → Work limit → Unspecified cause → No further refinement | Default for explicitly constructed LclConfigLimitError. | Exceed the named budget while LclConfigLimitError runs. |
Inspect the workload and adjust the relevant limit. | LclConfigLimitError |
LCL325890 |
Configuration → Source loading → Limits → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during ConfigLoadLimits. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclValidationError |
LCL331890 |
Configuration → Configuration composition → Compose configuration results → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during Config. |
Inspect the native cause and the operation note. | LclConfigError / LclErrorGroup (grouped failures) / LclValidationError |
LCL333191 |
Configuration → Configuration composition → Api → Input type → Other input type → evaluate config requires a config | Evaluate_config requires a Config. | Call evaluate_config with config=None for the required evaluate_config requires a config. |
Supply the declared input type. | LclValidationError |
LCL333890 |
Configuration → Configuration composition → Api → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during load_config. |
Inspect the native cause and the operation note. | LclConfigError / LclErrorGroup (grouped failures) |
LCL334111 |
Configuration → Configuration composition → Model → Input type → Text type → config using target must be text or an lcl f string | Config using target must be text or an LCL f-string. | Call ConfigUsing with self.target=None for the required config using target must be text or an lcl f-string. |
Supply the declared input type. | LclValidationError |
LCL334141 |
Configuration → Configuration composition → Model → Input type → Numeric or boolean type → config definition masked flag must be boolean | Config definition masked flag must be Boolean. | Call ConfigDefinition with self.masked=None for the required config definition masked flag must be boolean. |
Supply the declared input type. | LclValidationError |
LCL334143 |
Configuration → Configuration composition → Model → Input type → Numeric or boolean type → config import ordinal must be an integer | Config import ordinal must be an integer. | Call ConfigImport with self.ordinal=None for the required config import ordinal must be an integer. |
Supply the declared input type. | LclValidationError |
LCL334181 |
Configuration → Configuration composition → Model → Input type → Annotation or source type → config import span must be a sourcespan | Config import span must be a SourceSpan. | Call ConfigImport with self.span=None for the required config import span must be a sourcespan. |
Supply the declared input type. | LclValidationError |
LCL334211 |
Configuration → Configuration composition → Model → Input value → Empty value → config definition name cannot be empty | Config definition name cannot be empty. | Use an empty required value in ConfigDefinition. |
Correct the invalid value or declaration. | LclValidationError |
LCL334221 |
Configuration → Configuration composition → Model → Input value → Range violation → config declaration ordinal cannot be negative | Config declaration ordinal cannot be negative. | Call ConfigDefinition when self.ordinal < 0 is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL334222 |
Configuration → Configuration composition → Model → Input value → Range violation → config version must be positive | Config version must be positive. | Call ConfigDocument when self.version <= 0 is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL334271 |
Configuration → Configuration composition → Model → Input value → Required structure → config declaration ordinals must be contiguous | Config declaration ordinals must be contiguous. | Call ConfigDocument when tuple((item.ordinal for item in declarations)) != tuple(range(len(declarations))) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL334272 |
Configuration → Configuration composition → Model → Input value → Required structure → config declarations must share their document origin | Config declarations must share their document origin. | Call ConfigDocument when any((item.span.origin != self.origin for item in declarations)) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL334291 |
Configuration → Configuration composition → Model → Input value → Other invalid value → config import alias cannot be reserved | Config import alias cannot be reserved. | Call ConfigImport when self.alias.startswith('__') is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL334890 |
Configuration → Configuration composition → Model → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during ConfigDefinition. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclValidationError |
4: CLI¶
| Code | Classification path | Cause | Minimal trigger | Handling | Exception type |
|---|---|---|---|---|---|
LCL400000 |
CLI → Unspecified subsystem → Unspecified operation → Unspecified failure category → Unspecified cause → No further refinement | Default code for application-created failures of this family. | Construct LclCliError("application failure") without a code override. |
Choose a specific application code when the application knows the reason. | LclCliError |
LCL411111 |
CLI → Command declarations → Commands → Input type → Text type → cli command handler must accept exactly context | CLI command handler must accept exactly context. | Call validate_handler with required input=None for the required cli command handler must accept exactly context. |
Supply the declared input type. | LclValidationError |
LCL411112 |
CLI → Command declarations → Commands → Input type → Text type → cli command handler annotations must be clicontext and cliresult | CLI command handler annotations must be CliContext and CliResult. | Call validate_handler with required input=None for the required cli command handler annotations must be clicontext and cliresult. |
Supply the declared input type. | LclValidationError |
LCL411121 |
CLI → Command declarations → Commands → Input type → Mapping type → command preset must be a mapping | Command preset must be a mapping. | Call Command with self.preset=None for the required command preset must be a mapping. |
Supply the declared input type. | LclValidationError |
LCL411161 |
CLI → Command declarations → Commands → Input type → Callable type → cli command handler must be async | CLI command handler must be async. | Call validate_handler with required input=None for the required cli command handler must be async. |
Supply the declared input type. | LclValidationError |
LCL411181 |
CLI → Command declarations → Commands → Input type → Annotation or source type → cli command handler annotations cannot be resolved | CLI command handler annotations cannot be resolved. | Call validate_handler with required input=None for the required cli command handler annotations cannot be resolved. |
Supply the declared input type. | LclValidationError |
LCL411191 |
CLI → Command declarations → Commands → Input type → Other input type → command parameter docs must contain parameterdoc values | Command parameter docs must contain ParameterDoc values. | Call Command with item=None for the required command parameter docs must contain parameterdoc values. |
Supply the declared input type. | LclValidationError |
LCL411192 |
CLI → Command declarations → Commands → Input type → Other input type → command group children must be commands or groups | Command group children must be commands or groups. | Call CommandGroup with item=None for the required command group children must be commands or groups. |
Supply the declared input type. | LclValidationError |
LCL411231 |
CLI → Command declarations → Commands → Input value → Duplicate value → duplicate command parameter name | Duplicate command parameter name. | Repeat the named declaration or value in Command. |
Correct the invalid value or declaration. | LclValidationError |
LCL411232 |
CLI → Command declarations → Commands → Input value → Duplicate value → duplicate command group child name | Duplicate command group child name. | Repeat the named declaration or value in CommandGroup. |
Correct the invalid value or declaration. | LclValidationError |
LCL411291 |
CLI → Command declarations → Commands → Input value → Other invalid value → command parameter name is reserved | Command parameter name is reserved. | Call Command when any((name.split('.', 1)[0] in DECLARATION_RESERVED_NAMES for name in names)) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL411292 |
CLI → Command declarations → Commands → Input value → Other invalid value → command preset name is reserved | Command preset name is reserved. | Call Command when {name.split('.', 1)[0] for name in normalized_preset} & DECLARATION_RESERVED_NAMES is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL411890 |
CLI → Command declarations → Commands → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during handler_summary. |
Inspect the native cause and the operation note. | LclCliError / LclErrorGroup (grouped failures) / LclValidationError |
LCL412111 |
CLI → Command declarations → Entrance → Input type → Text type → cli entrance version must be text | CLI entrance version must be text. | Call CliEntrance with self.version=None for the required cli entrance version must be text. |
Supply the declared input type. | LclValidationError |
LCL412191 |
CLI → Command declarations → Entrance → Input type → Other input type → cli entrance command group must be commandgroup | CLI entrance command group must be CommandGroup. | Call CliEntrance with self.command_group=None for the required cli entrance command group must be commandgroup. |
Supply the declared input type. | LclValidationError |
LCL412192 |
CLI → Command declarations → Entrance → Input type → Other input type → cli entrance config must be cliconfig | CLI entrance config must be CliConfig. | Call CliEntrance with self.cli_config=None for the required cli entrance config must be cliconfig. |
Supply the declared input type. | LclValidationError |
LCL412211 |
CLI → Command declarations → Entrance → Input value → Empty value → cli entrance version cannot be empty | CLI entrance version cannot be empty. | Use an empty required value in CliEntrance. |
Correct the invalid value or declaration. | LclValidationError |
LCL412890 |
CLI → Command declarations → Entrance → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during CliEntrance. |
Inspect the native cause and the operation note. | LclCliError / LclErrorGroup (grouped failures) / LclValidationError |
LCL413111 |
CLI → Command declarations → Validation → Input type → Text type → argument must be text | The supplied value must be text. | Call normalize_text with value=None for the required the supplied value must be text. |
Supply the declared input type. | LclValidationError |
LCL413121 |
CLI → Command declarations → Validation → Input type → Mapping type → argument must be a mapping | The supplied value must be a mapping. | Call freeze_mapping with values=None for the required the supplied value must be a mapping. |
Supply the declared input type. | LclValidationError |
LCL413271 |
CLI → Command declarations → Validation → Input value → Required structure → argument must be lowercase ascii snake case | The supplied value must be lowercase ASCII snake_case. | Call require_command_segment when not isinstance(value, str) or COMMAND_SEGMENT_PATTERN.fullmatch(value) is None is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL413890 |
CLI → Command declarations → Validation → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during normalize_text. |
Inspect the native cause and the operation note. | LclCliError / LclErrorGroup (grouped failures) |
LCL414111 |
CLI → Command declarations → Models → Input type → Text type → executable path must be text | Executable path must be text. | Call CliParams with self.executable_path=None for the required executable path must be text. |
Supply the declared input type. | LclValidationError |
LCL414141 |
CLI → Command declarations → Models → Input type → Numeric or boolean type → parameter required must be boolean | Parameter required must be Boolean. | Call ParameterDoc with self.required=None for the required parameter required must be boolean. |
Supply the declared input type. | LclValidationError |
LCL414171 |
CLI → Command declarations → Models → Input type → Date or calendar type → as of date must be a date | As-of date must be a date. | Call CliParams with self.as_of_date=None for the required as-of date must be a date. |
Supply the declared input type. | LclValidationError |
LCL414191 |
CLI → Command declarations → Models → Input type → Other input type → result status must be cliresultstatus | Result status must be CliResultStatus. | Call CliResult with self.result_status=None for the required result status must be cliresultstatus. |
Supply the declared input type. | LclValidationError |
LCL414192 |
CLI → Command declarations → Models → Input type → Other input type → cli log configuration must be loggerhandlerconfig | CLI log configuration must be LoggerHandlerConfig. | Call CliConfig with self.log_config=None for the required cli log configuration must be loggerhandlerconfig. |
Supply the declared input type. | LclValidationError |
LCL414211 |
CLI → Command declarations → Models → Input value → Empty value → executable path cannot be empty | Executable path cannot be empty. | Use an empty required value in CliParams. |
Correct the invalid value or declaration. | LclValidationError |
LCL414213 |
CLI → Command declarations → Models → Input value → Empty value → raw argv tokens must be non empty text | Raw argv tokens must be non-empty text. | Use an empty required value in CliParams. |
Correct the invalid value or declaration. | LclValidationError |
LCL414214 |
CLI → Command declarations → Models → Input value → Empty value → command path must contain non empty text segments | Command path must contain non-empty text segments. | Use an empty required value in CliParams. |
Correct the invalid value or declaration. | LclValidationError |
LCL414890 |
CLI → Command declarations → Models → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during ParameterDoc. |
Inspect the native cause and the operation note. | LclCliError / LclErrorGroup (grouped failures) / LclValidationError |
LCL415111 |
CLI → Command declarations → Context → Input type → Text type → context as of date must be a date | Context as-of date must be a date. | Call CliContext with self.as_of_date=None for the required context as-of date must be a date. |
Supply the declared input type. | LclValidationError |
LCL415112 |
CLI → Command declarations → Context → Input type → Text type → context dryrun must be boolean | Context dryrun must be Boolean. | Call CliContext with self.dryrun=None for the required context dryrun must be boolean. |
Supply the declared input type. | LclValidationError |
LCL415113 |
CLI → Command declarations → Context → Input type → Text type → context frame must be a frame | Context frame must be a Frame. | Call CliContext with self.frame=None for the required context frame must be a frame. |
Supply the declared input type. | LclValidationError |
LCL415114 |
CLI → Command declarations → Context → Input type → Text type → context logger must be a logger | Context logger must be a Logger. | Call CliContext with self.logger=None for the required context logger must be a logger. |
Supply the declared input type. | LclValidationError |
LCL415115 |
CLI → Command declarations → Context → Input type → Text type → context raw params must be cliparams | Context raw params must be CliParams. | Call CliContext with self.raw_params=None for the required context raw params must be cliparams. |
Supply the declared input type. | LclValidationError |
LCL415890 |
CLI → Command declarations → Context → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during CliContext. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclValidationError |
LCL416890 |
CLI → Command declarations → Construct CLI application policy → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during parse_lcl_command. |
Inspect the native cause and the operation note. | LclCliError / LclErrorGroup (grouped failures) |
LCL417271 |
CLI → Command declarations → Builtin docs → Input value → Required structure → canonical builtin names must be unique | Canonical builtin names must be unique. | Call render_builtin_docs when len(names) != len(set(names)) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL417272 |
CLI → Command declarations → Builtin docs → Input value → Required structure → builtin descriptions must be non blank and trimmed | Builtin descriptions must be non-blank and trimmed. | Call render_builtin_docs when any((not value.strip() or value != value.strip() for value in descriptions)) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL417273 |
CLI → Command declarations → Builtin docs → Input value → Required structure → builtin descriptions must occupy one line | Builtin descriptions must occupy one line. | Call render_builtin_docs when any(('\n' in value or '\r' in value for value in descriptions)) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL417291 |
CLI → Command declarations → Builtin docs → Input value → Other invalid value → namespace descriptions do not match canonical values | Namespace descriptions do not match canonical values. | Call render_builtin_docs when set(NAMESPACE_DESCRIPTIONS) != {*manifests, 'calendars'} is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL417292 |
CLI → Command declarations → Builtin docs → Input value → Other invalid value → builtin descriptions do not match canonical values | Builtin descriptions do not match canonical values. | Call render_builtin_docs when expected_values != set(LCL_BUILTIN_VALUES) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL417293 |
CLI → Command declarations → Builtin docs → Input value → Other invalid value → calendar descriptions do not match canonical values | Calendar descriptions do not match canonical values. | Call render_builtin_docs when set(CALENDAR_DESCRIPTIONS) != set(CALENDARS_NAMESPACE) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL417890 |
CLI → Command declarations → Builtin docs → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during render_builtin_docs. |
Inspect the native cause and the operation note. | LclCliError / LclErrorGroup (grouped failures) |
LCL418890 |
CLI → Command declarations → Describe command parameters → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during DerivedParameterDoc. |
Inspect the native cause and the operation note. | LclCliError / LclErrorGroup (grouped failures) / LclValidationError |
LCL421890 |
CLI → Routing → Routing → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during RouteResult. |
Inspect the native cause and the operation note. | LclCliError / LclErrorGroup (grouped failures) / LclValidationError |
LCL421911 |
CLI → Routing → Routing → Invariant → Missing or closed value → missing command | Missing command. | Call route_command when not remaining is true. |
Correct the violated declaration or operation constraint. | RouteFailure |
LCL421991 |
CLI → Routing → Routing → Invariant → Operation-specific failure → help does not accept arguments | Help does not accept arguments. | Call route_command when len(remaining) != 1 is true. |
Correct the violated declaration or operation constraint. | RouteFailure |
LCL421992 |
CLI → Routing → Routing → Invariant → Operation-specific failure → version does not accept arguments | Version does not accept arguments. | Call route_command when len(remaining) != 1 is true. |
Correct the violated declaration or operation constraint. | RouteFailure |
LCL421993 |
CLI → Routing → Routing → Invariant → Operation-specific failure → Command route selection failed | The command route cannot be selected. | route_command encounters this condition. |
Correct the violated declaration or operation constraint. | RouteFailure |
LCL430000 |
CLI → Arguments → Unspecified operation → Unspecified failure category → Unspecified cause → No further refinement | Default code for application-created failures of this family. | Construct LclCliUsageError("application failure") without a code override. |
Choose a specific application code when the application knows the reason. | LclCliUsageError |
LCL431890 |
CLI → Arguments → Parser → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during ParsedCommonOptions. |
Inspect the native cause and the operation note. | LclCliError / LclErrorGroup (grouped failures) / LclValidationError |
LCL431911 |
CLI → Arguments → Parser → Invariant → Missing or closed value → unknown option or argument | Unknown option or argument. | In parse_common_options, trigger: unknown option or argument. |
Correct the violated declaration or operation constraint. | usage_error |
LCL431912 |
CLI → Arguments → Parser → Invariant → Missing or closed value → missing option | Missing option value. | Call parse_common_options when index + 1 >= len(tokens) is true. |
Correct the violated declaration or operation constraint. | usage_error |
LCL431913 |
CLI → Arguments → Parser → Invariant → Missing or closed value → missing override key | Missing override key. | Call parse_common_options when index + 1 >= len(tokens) is true. |
Correct the violated declaration or operation constraint. | usage_error |
LCL431993 |
CLI → Arguments → Parser → Invariant → Operation-specific failure → duplicate dryrun option | Duplicate dryrun option. | Repeat the named declaration or value in parse_common_options. |
Correct the violated declaration or operation constraint. | usage_error |
LCL431994 |
CLI → Arguments → Parser → Invariant → Operation-specific failure → duplicate verbose option | Duplicate verbose option. | Repeat the named declaration or value in parse_common_options. |
Correct the violated declaration or operation constraint. | usage_error |
LCL431995 |
CLI → Arguments → Parser → Invariant → Operation-specific failure → reserved override key | Reserved override key. | Call parse_common_options when key.split('.', 1)[0] in CLI_RUNTIME_KEYS is true. |
Correct the violated declaration or operation constraint. | usage_error |
LCL431996 |
CLI → Arguments → Parser → Invariant → Operation-specific failure → duplicate config option | Duplicate config option. | Repeat the named declaration or value in parse_common_options. |
Correct the violated declaration or operation constraint. | usage_error |
LCL431997 |
CLI → Arguments → Parser → Invariant → Operation-specific failure → duplicate as of option | Duplicate as-of option. | Repeat the named declaration or value in parse_common_options. |
Correct the violated declaration or operation constraint. | usage_error |
LCL432890 |
CLI → Arguments → Process → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during ArgvParts. |
Inspect the native cause and the operation note. | LclCliError / LclErrorGroup (grouped failures) / LclValidationError |
LCL432991 |
CLI → Arguments → Process → Invariant → Operation-specific failure → full argv requires executable and py script | Full argv requires executable and .py script. | Call split_argv when len(values) < 2 is true. |
Correct the violated declaration or operation constraint. | LclCliUsageError |
LCL432992 |
CLI → Arguments → Process → Invariant → Operation-specific failure → argv tokens must be non empty text | Argv tokens must be non-empty text. | Use an empty required value in split_argv. |
Correct the violated declaration or operation constraint. | LclCliUsageError |
LCL432993 |
CLI → Arguments → Process → Invariant → Operation-specific failure → script path must end in py | Script path must end in .py. | Call split_argv when not values[1].endswith('.py') is true. |
Correct the violated declaration or operation constraint. | LclCliUsageError |
LCL433890 |
CLI → Arguments → Overrides → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during forced_override_expression. |
Inspect the native cause and the operation note. | LclCliError / LclErrorGroup (grouped failures) |
LCL433991 |
CLI → Arguments → Overrides → Invariant → Operation-specific failure → forced result parse failed | Forced RESULT parse failed the supplied value. | In forced_override_expression, trigger: forced result parse failed the supplied value. |
Correct the violated declaration or operation constraint. | LclCliUsageError |
LCL441811 |
CLI → Bindings → Binding → External operation → Owned CLI Frame lifecycle → frame close failure | Owned CLI Frame cleanup failed. | In FrameStack.close, trigger: owned cli frame cleanup failed. |
Inspect the retained cause and correct the failing operation. | LclCliError / LclErrorGroup (grouped failures) |
LCL441890 |
CLI → Bindings → Binding → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during CliBinding. |
Inspect the native cause and the operation note. | LclCliError / LclErrorGroup (grouped failures) / LclValidationError |
LCL441911 |
CLI → Bindings → Binding → Invariant → Missing or closed value → missing required parameter join missing | 'missing required parameter: ' + ', '.join(missing). | Call build_binding when missing is true. |
Correct the violated declaration or operation constraint. | LclCliUsageError |
LCL441971 |
CLI → Bindings → Binding → Invariant → Combined CLI Frame cleanup failures → multiple cleanup failures | Several owned CLI Frames failed to close. | Close a stack with two failing Frame owners. | Inspect every cleanup member; all Frames have been attempted. | LclError |
LCL441972 |
CLI → Bindings → Binding → Invariant → Combined CLI Frame cleanup failures → binding cleanup failure | Binding cleanup failure. | In build_binding, trigger: binding cleanup failure. |
Correct the violated declaration or operation constraint. | LclError |
LCL443890 |
CLI → Bindings → Resolve CLI logging policy → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during logger_parameter. |
Inspect the native cause and the operation note. | LclCliError / LclErrorGroup (grouped failures) |
LCL451171 |
CLI → Execution → Execution → Input type → Date or calendar type → parameter type | Command parameters must be CliParams. | Call execute_command with params=None for the required command parameters must be cliparams. |
Supply the declared input type. | LclValidationError |
LCL451191 |
CLI → Execution → Execution → Input type → Other input type → cli command handler must return cliresult | CLI command handler must return CliResult. | Call run_bound_command with result=None for the required cli command handler must return cliresult. |
Supply the declared input type. | LclValidationError |
LCL451811 |
CLI → Execution → Execution → External operation → Command handler or output callback → handler failure | A command handler failed. | In run_bound_command, trigger: a command handler failed. |
Inspect the retained cause and correct the failing operation. | LclCliError / LclErrorGroup (grouped failures) |
LCL451812 |
CLI → Execution → Execution → External operation → Command handler or output callback → cleanup failure | Command resource cleanup failed. | In run_bound_command, trigger: command resource cleanup failed. |
Inspect the retained cause and correct the failing operation. | LclCliError / LclErrorGroup (grouped failures) |
LCL451813 |
CLI → Execution → Execution → External operation → Command handler or output callback → output failure | Command output could not be written. | In run_bound_command, trigger: command output could not be written. |
Inspect the retained cause and correct the failing operation. | LclCliError / LclErrorGroup (grouped failures) |
LCL451890 |
CLI → Execution → Execution → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during redacted_overrides. |
Inspect the native cause and the operation note. | LclCliError / LclErrorGroup (grouped failures) |
LCL451911 |
CLI → Execution → Execution → Invariant → Combined command failures → execution cleanup failure | A command failure accompanies cleanup or output failure. | Fail a handler and then its owned cleanup. | Inspect all retained failures. | LclErrorGroup |
LCL452691 |
CLI → Execution → Run → State → Operation-specific failure → command route did not select a command | Command route did not select a command. | Call run_entrance when command is None is true. |
Use the operation in its supported lifecycle state. | LclStateError |
LCL452890 |
CLI → Execution → Run → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during script_label_from_args. |
Inspect the native cause and the operation note. | LclCliError / LclErrorGroup (grouped failures) |
LCL461191 |
CLI → Discovery → Scanning → Input type → Other input type → command scan root must be a module | Command scan root must be a module. | Call scan_commands with module=None for the required command scan root must be a module. |
Supply the declared input type. | LclValidationError |
LCL461231 |
CLI → Discovery → Scanning → Input value → Duplicate value → duplicate scanned command name | Duplicate scanned command name: the supplied value. | Repeat the named declaration or value in scan_commands. |
Correct the invalid value or declaration. | LclValidationError |
LCL461890 |
CLI → Discovery → Scanning → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during scan_commands. |
Inspect the native cause and the operation note. | LclCliError / LclErrorGroup (grouped failures) |
5: Workflow¶
| Code | Classification path | Cause | Minimal trigger | Handling | Exception type |
|---|---|---|---|---|---|
LCL500000 |
Workflow → Unspecified subsystem → Unspecified operation → Unspecified failure category → Unspecified cause → No further refinement | Default code for application-created failures of this family. | Construct LclWorkflowError("application failure") without a code override. |
Choose a specific application code when the application knows the reason. | LclWorkflowError |
LCL511111 |
Workflow → Definitions → Factories → Input type → Text type → argument must be text | The supplied value must be text. | Call require_title with value=None for the required the supplied value must be text. |
Supply the declared input type. | LclValidationError |
LCL511112 |
Workflow → Definitions → Factories → Input type → Text type → workflow callable must accept exactly context args status mgr | Workflow callable must accept exactly context, args, status_mgr. | Call validate_callable with required input=None for the required workflow callable must accept exactly context, args, status_mgr. |
Supply the declared input type. | LclValidationError |
LCL511113 |
Workflow → Definitions → Factories → Input type → Text type → context tasks must contain contexttask values | Context tasks must contain ContextTask values. | Call define_task with item=None for the required context tasks must contain contexttask values. |
Supply the declared input type. | LclValidationError |
LCL511121 |
Workflow → Definitions → Factories → Input type → Mapping type → workflow callable annotations do not match its mappings | Workflow callable annotations do not match its mappings. | Call validate_annotations with required input=None for the required workflow callable annotations do not match its mappings. |
Supply the declared input type. | LclValidationError |
LCL511122 |
Workflow → Definitions → Factories → Input type → Mapping type → workflow output annotations do not match its mapping | Workflow output annotations do not match its mapping. | Call validate_annotations with required input=None for the required workflow output annotations do not match its mapping. |
Supply the declared input type. | LclValidationError |
LCL511161 |
Workflow → Definitions → Factories → Input type → Callable type → workflow callable annotations cannot be resolved | Workflow callable annotations cannot be resolved. | Call validate_annotations with required input=None for the required workflow callable annotations cannot be resolved. |
Supply the declared input type. | LclValidationError |
LCL511162 |
Workflow → Definitions → Factories → Input type → Callable type → async action type | A workflow action is synchronous. | Pass a normal def function as a task action. |
Define the action with async def. |
LclValidationError |
LCL511163 |
Workflow → Definitions → Factories → Input type → Callable type → callable type | The workflow callback is not callable. | Pass a non-callable action or context factory. | Supply a compatible function. | LclValidationError |
LCL511183 |
Workflow → Definitions → Factories → Input type → Annotation or source type → signature unavailable | The callback signature cannot be inspected. | Pass a callable with an unsupported inspection signature. | Provide an inspectable callback with the declared parameters. | LclValidationError |
LCL511192 |
Workflow → Definitions → Factories → Input type → Other input type → children must contain tasknode values | Children must contain TaskNode values. | Call define_task with item=None for the required children must contain tasknode values. |
Supply the declared input type. | LclValidationError |
LCL511193 |
Workflow → Definitions → Factories → Input type → Other input type → workflow root must be a tasknode | Workflow root must be a TaskNode. | Call define_workflow with root_task=None for the required workflow root must be a tasknode. |
Supply the declared input type. | LclValidationError |
LCL511211 |
Workflow → Definitions → Factories → Input value → Empty value → workflow text field must be nonempty | The supplied value cannot be empty. | Use an empty required value in require_title. |
Correct the invalid value or declaration. | LclValidationError |
LCL511231 |
Workflow → Definitions → Factories → Input value → Duplicate value → duplicate workflow task id | Duplicate workflow task ID: the supplied value. | Repeat the named declaration or value in visit. |
Correct the invalid value or declaration. | LclValidationError |
LCL511232 |
Workflow → Definitions → Factories → Input value → Duplicate value → duplicate workflow variable declaration | Duplicate workflow variable declaration: the supplied value. | Repeat the named declaration or value in visit. |
Correct the invalid value or declaration. | LclValidationError |
LCL511271 |
Workflow → Definitions → Factories → Input value → Required structure → workflow task id must be an unqualified lcl identifier | Workflow task ID must be an unqualified LCL identifier. | Call require_task_id when len(parts) != 1 is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL511281 |
Workflow → Definitions → Factories → Input value → Cyclic value → workflow task cycle detected | Workflow task cycle detected. | Call visit when id(node) in active is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL511291 |
Workflow → Definitions → Factories → Input value → Other invalid value → structural task cannot define action mappings | Structural task cannot define action mappings. | Call define_task when args_mapping is not None or outputs_mapping is not None is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL511292 |
Workflow → Definitions → Factories → Input value → Other invalid value → task argument mapping is required with an action | Task argument mapping is required with an action. | Call define_task when args_mapping is None is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL511890 |
Workflow → Definitions → Factories → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during require_task_id. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclValidationError / LclWorkflowError |
LCL512890 |
Workflow → Definitions → Construct workflow definitions → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during ContextTask. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclValidationError / LclWorkflowError |
LCL513291 |
Workflow → Definitions → Cli → Input value → Other invalid value → workflow preset contains non external variable | Workflow preset contains non-external variable. | Call workflow_command when supplied_names - allowed is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL513890 |
Workflow → Definitions → Cli → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during external_variables. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclWorkflowError |
LCL513981 |
Workflow → Definitions → Cli → Invariant → Target constraint → workflow override targets non external variable | Workflow override targets non-external variable. | Call handler when unknown is true. |
Correct the violated declaration or operation constraint. | LclCliUsageError |
LCL514181 |
Workflow → Definitions → Cli parameters → Input type → Annotation or source type → conflicting cli field annotation | Conflicting CLI field annotation: the supplied value. | Call visit with required input=None for the required conflicting cli field annotation: the supplied value. |
Supply the declared input type. | LclValidationError |
LCL514890 |
Workflow → Definitions → Cli parameters → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during expand_record_parameters. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclWorkflowError |
LCL521121 |
Workflow → Mappings → Structure → Input type → Mapping type → workflow output mapping type mismatch | The supplied value: workflow output must match its mapping dataclass. | Call output_updates with output=None for the required the supplied value: workflow output must match its mapping dataclass. |
Supply the declared input type. | LclValidationError |
LCL521122 |
Workflow → Mappings → Structure → Input type → Mapping type → workflow output must match its mapping dataclass | Workflow output must match its mapping dataclass. | Call output_updates with output=None for the required workflow output must match its mapping dataclass. |
Supply the declared input type. | LclValidationError |
LCL521151 |
Workflow → Mappings → Structure → Input type → Record type → argument must be a dataclass instance | The supplied value must be a dataclass instance. | Call require_mapping with value=None for the required the supplied value must be a dataclass instance. |
Supply the declared input type. | LclValidationError |
LCL521181 |
Workflow → Mappings → Structure → Input type → Annotation or source type → workflow reference annotation mismatch | The supplied value: workflow reference annotation mismatch for the supplied value. | Call mapping_structure with required input=None for the required the supplied value: workflow reference annotation mismatch for the supplied value. |
Supply the declared input type. | LclValidationError |
LCL521191 |
Workflow → Mappings → Structure → Input type → Other input type → workflow output projections are read only | Workflow output projections are read-only. | Call output_updates with mapping=None for the required workflow output projections are read-only. |
Supply the declared input type. | LclValidationError |
LCL521192 |
Workflow → Mappings → Structure → Input type → Other input type → workflow output projection is read only | The supplied value: workflow output projections are read-only. | Call validate_mapping with node.value=None for the required the supplied value: workflow output projections are read-only. |
Supply the declared input type. | LclValidationError |
LCL521193 |
Workflow → Mappings → Structure → Input type → Other input type → input quote requires init field | The supplied value: input quote requires an init field. | Call validate_mapping with node.value=None for the required the supplied value: input quote requires an init field. |
Supply the declared input type. | LclValidationError |
LCL521231 |
Workflow → Mappings → Structure → Input value → Duplicate value → duplicate workflow output target | The supplied value: duplicate workflow output target. | Repeat the named declaration or value in output_updates. |
Correct the invalid value or declaration. | LclValidationError |
LCL521281 |
Workflow → Mappings → Structure → Input value → Cyclic value → cyclic workflow dataclass mapping | The supplied value: cyclic workflow dataclass mapping. | Call mapping_structure when id(value) in active is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL521890 |
Workflow → Mappings → Structure → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during require_mapping. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclValidationError / LclWorkflowError |
LCL522121 |
Workflow → Mappings → Values → Input type → Mapping type → workflow argument must match its mapping dataclass | Workflow argument must match its mapping dataclass. | Call materialize_record with value=None for the required workflow argument must match its mapping dataclass. |
Supply the declared input type. | LclValidationError |
LCL522191 |
Workflow → Mappings → Values → Input type → Other input type → workflow field | Workflow field the supplied value: the supplied value. | Call resolve_reference with required input=None for the required workflow field the supplied value: the supplied value. |
Supply the declared input type. | LclValidationError |
LCL522811 |
Workflow → Mappings → Values → External operation → Mapping materialization → mapping failure | A workflow mapping operation failed. | Call execute_context_scope when task.task_action is not None is true. |
Inspect the retained cause and correct the failing operation. | LclErrorGroup (grouped failures) / LclWorkflowError |
LCL522890 |
Workflow → Mappings → Values → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during matches_annotation. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclWorkflowError |
LCL524151 |
Workflow → Mappings → Records → Input type → Record type → workflow record type must be a dataclass | Workflow record type must be a dataclass. | Call record_type with origin=None for the required workflow record type must be a dataclass. |
Supply the declared input type. | LclValidationError |
LCL524890 |
Workflow → Mappings → Records → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during can_construct_record. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclWorkflowError |
LCL525151 |
Workflow → Mappings → Annotations → Input type → Record type → workflow record type must be a dataclass | Workflow record type must be a dataclass. | Call record_annotations with cls=None for the required workflow record type must be a dataclass. |
Supply the declared input type. | LclValidationError |
LCL525152 |
Workflow → Mappings → Annotations → Input type → Record type → workflow dataclass annotations cannot be resolved | Workflow dataclass annotations cannot be resolved. | Call record_annotations with required input=None for the required workflow dataclass annotations cannot be resolved. |
Supply the declared input type. | LclValidationError |
LCL525890 |
Workflow → Mappings → Annotations → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during specialize. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclWorkflowError |
LCL526111 |
Workflow → Mappings → Variables → Input type → Text type → workflow variable description must be text | Workflow variable description must be text. | Call VariableDefinition with description=None for the required workflow variable description must be text. |
Supply the declared input type. | LclValidationError |
LCL526141 |
Workflow → Mappings → Variables → Input type → Numeric or boolean type → workflow variable masked flag must be boolean | Workflow variable masked flag must be Boolean. | Call VariableDefinition with is_masked=None for the required workflow variable masked flag must be boolean. |
Supply the declared input type. | LclValidationError |
LCL526161 |
Workflow → Mappings → Variables → Input type → Callable type → default factory must be callable | Default_factory must be callable. | Call VariableDefinition with required input=None for the required default_factory must be callable. |
Supply the declared input type. | LclValidationError |
LCL526191 |
Workflow → Mappings → Variables → Input type → Other input type → define variable requires a type subscription | Define_variable requires a type subscription. | Call VariableDefinition with required input=None for the required define_variable requires a type subscription. |
Supply the declared input type. | LclValidationError |
LCL526890 |
Workflow → Mappings → Variables → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during TaskVar. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclValidationError / LclWorkflowError |
LCL527181 |
Workflow → Mappings → Projections → Input type → Annotation or source type → workflow field annotation mismatch | Workflow field annotation mismatch: the supplied value.the supplied value. | Call project_field with required input=None for the required workflow field annotation mismatch: the supplied value.the supplied value. |
Supply the declared input type. | LclValidationError |
LCL527291 |
Workflow → Mappings → Projections → Input value → Other invalid value → unknown workflow field | Unknown workflow field: the supplied value.the supplied value. | Call project_field when name not in annotations is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL527890 |
Workflow → Mappings → Projections → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during TaskProjection. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclValidationError / LclWorkflowError |
LCL531151 |
Workflow → Execution → Finalization → Input type → Record type → workflow action must return its annotated dataclass | Workflow action must return its annotated dataclass. | Call execute_action_and_children with required input=None for the required workflow action must return its annotated dataclass. |
Supply the declared input type. | LclValidationError |
LCL531291 |
Workflow → Execution → Finalization → Input value → Other invalid value → a step manager cannot contain sub tasks | A step manager cannot contain sub-tasks. | Call ensure_can_add when node.task_type is ExecutionTaskType.STEP is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL531611 |
Workflow → Execution → Finalization → State → Missing or closed value → validated action is missing its argument mapping | Validated action is missing its argument mapping. | Call execute_action_and_children when task.args_mapping is None is true. |
Use the operation in its supported lifecycle state. | LclStateError |
LCL531691 |
Workflow → Execution → Finalization → State → Operation-specific failure → execution status subtree is already finalized | Execution status subtree is already finalized. | Call ensure_unlocked when id(node) in state.locked_nodes is true. |
Use the operation in its supported lifecycle state. | LclStateError |
LCL531811 |
Workflow → Execution → Finalization → External operation → Business action callback → action failure | A business action callback raised a native exception. | Use a task action that raises OSError("backend unavailable"). |
Inspect the cause and recover at the business boundary. | LclErrorGroup (grouped failures) / LclWorkflowError |
LCL531890 |
Workflow → Execution → Finalization → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during copy_status_tree. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclValidationError / LclWorkflowError |
LCL531991 |
Workflow → Execution → Finalization → Invariant → Operation-specific failure → task stopped by failure status | Task 'the supplied value' ended with the supplied value. | In raise_for_status, trigger: task 'the supplied value' ended with the supplied value. |
Correct the violated declaration or operation constraint. | WorkflowStatusStop |
LCL532111 |
Workflow → Execution → Runner → Input type → Text type → workflow execution context has the wrong type | Workflow execution context has the wrong type. | Call execute_workflow with context=None for the required workflow execution context has the wrong type. |
Supply the declared input type. | LclValidationError |
LCL532811 |
Workflow → Execution → Runner → External operation → Context or resource lifecycle callback → context enter failure | A workflow context callback failed during acquisition. | Raise from the context before its first yield. | Correct acquisition and inspect its cause. | LclErrorGroup (grouped failures) / LclWorkflowError |
LCL532812 |
Workflow → Execution → Runner → External operation → Context or resource lifecycle callback → context exit failure | A workflow context callback failed while exiting. | Raise in the context finalizer after yielding. | Correct cleanup and inspect any accompanying execution failure. | LclErrorGroup (grouped failures) / LclWorkflowError |
LCL532813 |
Workflow → Execution → Runner → External operation → Context or resource lifecycle callback → frame close failure | Owned task Frame cleanup failed. | Call execute_task when isinstance(error, Exception) is true. |
Inspect the retained cause and correct the failing operation. | LclErrorGroup (grouped failures) / LclWorkflowError |
LCL532890 |
Workflow → Execution → Runner → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during execute_context_scope. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclWorkflowError |
LCL533131 |
Workflow → Execution → Context → Input type → Sequence type → log path must be a tuple of strings | Workflow log path must be a tuple of strings. | Construct a workflow or task context with a list path or a non-string component. | Supply a tuple of strings. | LclValidationError |
LCL533211 |
Workflow → Execution → Context → Input value → Empty value → log path components cannot be empty | Workflow log path components cannot be empty. | Construct a workflow or task context with an empty component in its log path. | Remove empty components; an empty tuple is valid. | LclValidationError |
LCL533691 |
Workflow → Execution → Context → State → Operation-specific failure → skip children is only available during the task action | Skip_children is only available during the task action. | Call TaskContext.skip_children when not self._child_execution.action_active is true. |
Use the operation in its supported lifecycle state. | LclStateError |
LCL533692 |
Workflow → Execution → Context → State → Operation-specific failure → context handler unimplemented | Context exception handling is not implemented. | In FailureCoveringContextTask.handle_exception, trigger: context exception handling is not implemented. |
Use the operation in its supported lifecycle state. | LclStateError |
LCL533693 |
Workflow → Execution → Context → State → Operation-specific failure → context acquire unimplemented | Context acquire unimplemented. | In FailureCoveringContextTask.acquire, trigger: context acquire unimplemented. |
Use the operation in its supported lifecycle state. | LclStateError |
LCL533811 |
Workflow → Execution → Context → External operation → Context or resource lifecycle callback → context handling failure | The failure-covering handler raised an ordinary exception. | Implement FailureCoveringContextTask.handle_exception to raise OSError("handling") after a body failure. |
Inspect both failures and correct handling before another run; release still runs. | LclWorkflowError / LclErrorGroup (grouped failures) |
LCL533890 |
Workflow → Execution → Context → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during WorkflowException. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclValidationError / LclWorkflowError |
LCL534151 |
Workflow → Execution → Events → Input type → Record type → event record must be a dataclass instance | Event record must be a dataclass instance. | Call emit_event with record=None for the required event record must be a dataclass instance. |
Supply the declared input type. | LclValidationError |
LCL534271 |
Workflow → Execution → Events → Input value → Required structure → event fields must be declared unique and separate from keyword va | Event fields must be declared, unique, and separate from keyword values. | Call emit_event when set(selected) - declared or len(set(selected)) != len(selected) or set(selected) & values.keys() is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL534890 |
Workflow → Execution → Events → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during emit_event. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclWorkflowError |
LCL535911 |
Workflow → Execution → Combine workflow failures → Invariant → Combined workflow failures → composite failure | Workflow execution and cleanup both failed. | Combine a failing action with a failing context finalizer. | Inspect and handle every group member. | LclErrorGroup |
LCL541111 |
Workflow → Child calls → Calls → Input type → Text type → workflow calls require a task context and status manager | Workflow calls require a task context and status manager. | Call execute_workflow_in_task with context=None for the required workflow calls require a task context and status manager. |
Supply the declared input type. | LclValidationError |
LCL541121 |
Workflow → Child calls → Calls → Input type → Mapping type → workflow call preset must be a mapping | Workflow call preset must be a mapping. | Call execute_workflow_in_task with preset=None for the required workflow call preset must be a mapping. |
Supply the declared input type. | LclValidationError |
LCL541241 |
Workflow → Child calls → Calls → Input value → Conflicting values → workflow call name conflicts with a child node | Workflow call name conflicts with a child node. | Supply the conflicting declarations to execute_workflow_in_task. |
Correct the invalid value or declaration. | LclValidationError |
LCL541691 |
Workflow → Child calls → Calls → State → Operation-specific failure → workflow calls are only available during the task action | Workflow calls are only available during the task action. | Call execute_workflow_in_task when not context._child_execution.action_active is true. |
Use the operation in its supported lifecycle state. | LclStateError |
LCL541811 |
Workflow → Child calls → Calls → External operation → Child workflow call lifecycle → call setup failure | Child workflow setup failed. | In execute_workflow_in_task, trigger: child workflow setup failed. |
Inspect the retained cause and correct the failing operation. | LclErrorGroup (grouped failures) / LclWorkflowError |
LCL541812 |
Workflow → Child calls → Calls → External operation → Child workflow call lifecycle → call body failure | Child workflow call body failed. | In execute_workflow_in_task, trigger: child workflow call body failed. |
Inspect the retained cause and correct the failing operation. | LclErrorGroup (grouped failures) / LclWorkflowError |
LCL541813 |
Workflow → Child calls → Calls → External operation → Child workflow call lifecycle → call cleanup failure | Child workflow Frame cleanup failed. | In close_call_frame, trigger: child workflow frame cleanup failed. |
Inspect the retained cause and correct the failing operation. | LclErrorGroup (grouped failures) / LclWorkflowError |
LCL541890 |
Workflow → Child calls → Calls → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during close_call_frame. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclWorkflowError |
LCL551890 |
Workflow → Status → Manage workflow status → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during ExecutionStatusManager. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclValidationError / LclWorkflowError |
LCL552111 |
Workflow → Status → Models → Input type → Text type → task name must be text | Task name must be text. | Call require_task_name with value=None for the required task name must be text. |
Supply the declared input type. | LclValidationError |
LCL552131 |
Workflow → Status → Models → Input type → Sequence type → sub tasks must be a list | Sub-tasks must be a list. | Call ExecutionStatusTree with self.sub_tasks=None for the required sub-tasks must be a list. |
Supply the declared input type. | LclValidationError |
LCL552191 |
Workflow → Status → Models → Input type → Other input type → status must be executionstatus | Status must be ExecutionStatus. | Call require_status with value=None for the required status must be executionstatus. |
Supply the declared input type. | LclValidationError |
LCL552192 |
Workflow → Status → Models → Input type → Other input type → task type must be executiontasktype | Task type must be ExecutionTaskType. | Call require_task_type with value=None for the required task type must be executiontasktype. |
Supply the declared input type. | LclValidationError |
LCL552193 |
Workflow → Status → Models → Input type → Other input type → sub tasks must contain executionstatustree values | Sub-tasks must contain ExecutionStatusTree values. | Call ExecutionStatusTree with child=None for the required sub-tasks must contain executionstatustree values. |
Supply the declared input type. | LclValidationError |
LCL552211 |
Workflow → Status → Models → Input value → Empty value → task name cannot be empty | Task name cannot be empty. | Use an empty required value in require_task_name. |
Correct the invalid value or declaration. | LclValidationError |
LCL552291 |
Workflow → Status → Models → Input value → Other invalid value → a step cannot contain sub tasks | A step cannot contain sub-tasks. | Call ExecutionStatusTree when self.task_type is ExecutionTaskType.STEP and self.sub_tasks is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL552890 |
Workflow → Status → Models → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during ExecutionStatusTree. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclValidationError / LclWorkflowError |
6: Logging¶
| Code | Classification path | Cause | Minimal trigger | Handling | Exception type |
|---|---|---|---|---|---|
LCL600000 |
Logging → Unspecified subsystem → Unspecified operation → Unspecified failure category → Unspecified cause → No further refinement | Default code for application-created failures of this family. | Construct LclLoggerError("application failure") without a code override. |
Choose a specific application code when the application knows the reason. | LclLoggerError |
LCL611111 |
Logging → Configuration → Config → Input type → Text type → logger timezone expected text | Logger.timezone: expected text. | Call LoggerHandlerConfig with self.timezone=None for the required logger.timezone: expected text. |
Supply the declared input type. | LclValidationError |
LCL611112 |
Logging → Configuration → Config → Input type → Text type → logger format expected text | Logger.format: expected text. | Call LoggerHandlerConfig with self.format=None for the required logger.format: expected text. |
Supply the declared input type. | LclValidationError |
LCL611113 |
Logging → Configuration → Config → Input type → Text type → logger traceback style expected text | Logger.traceback_style must be text. | Pass traceback_style=None to LoggerHandlerConfig or LclExceptionFormatter. | Supply compact or full before initializing logging. | LclValidationError |
LCL611251 |
Logging → Configuration → Config → Input value → Invalid spelling or format → logger format | Logger.format: the supplied value. | In LoggerHandlerConfig, trigger: logger.format: the supplied value. |
Correct the invalid value or declaration. | LclValidationError |
LCL611291 |
Logging → Configuration → Config → Input value → Other invalid value → logger timezone expected local or utc | Logger.timezone: expected local or utc. | Call LoggerHandlerConfig when self.timezone not in ('local', 'utc') is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL611292 |
Logging → Configuration → Config → Input value → Other invalid value → logger file sink identifier type | Logger.file.the supplied value: expected sink identifier. | Call LoggerHandlerConfig.resolved_files when not name.isidentifier() is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL611293 |
Logging → Configuration → Config → Input value → Other invalid value → logger traceback style expected compact or full | Logger.traceback_style must be compact or full. | Pass traceback_style='other' to LoggerHandlerConfig or LclExceptionFormatter. | Supply compact or full before initializing logging. | LclValidationError |
LCL611890 |
Logging → Configuration → Config → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during merge_fields. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclLoggerError / LclValidationError |
LCL612111 |
Logging → Configuration → Validation → Input type → Text type → logger configuration requires string keys | The supplied value: expected a string-keyed mapping. | Call mapping with value=None for the required the supplied value: expected a string-keyed mapping. |
Supply the declared input type. | LclValidationError |
LCL612131 |
Logging → Configuration → Validation → Input type → Sequence type → logger names require nonempty text sequence | The supplied value: expected nonempty logger names in a list or tuple. | Call names with value=None for the required the supplied value: expected nonempty logger names in a list or tuple. |
Supply the declared input type. | LclValidationError |
LCL612141 |
Logging → Configuration → Validation → Input type → Numeric or boolean type → logger flag must be boolean | The supplied value: expected bool (use LCL[False] in CLI overrides). | Supply a non-Boolean logger flag, such as logger.info("start", compact=None) inside a handler scope. |
Supply a Boolean; use compact=True for a simplified default record. |
LclValidationError |
LCL612221 |
Logging → Configuration → Validation → Input value → Range violation → logger duration must be positive seconds | The supplied value: expected positive seconds. | Call positive when isinstance(value, bool) or not isinstance(value, (int, float)) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL612291 |
Logging → Configuration → Validation → Input value → Other invalid value → unknown logger configuration field | The supplied value.the supplied value: unknown logger field. | Call fields when unknown is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL612292 |
Logging → Configuration → Validation → Input value → Other invalid value → invalid logging level | The supplied value: expected a logging level. | Call level when type(value) is not int or value < 0 is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL612890 |
Logging → Configuration → Validation → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during mapping. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclLoggerError |
LCL613191 |
Logging → Configuration → Frame config → Input type → Other input type → logger must remain a frameproxy configuration namespace | Logger must remain a FrameProxy configuration namespace. | Call resolve_logger_config with proxy=None for the required logger must remain a frameproxy configuration namespace. |
Supply the declared input type. | LclValidationError |
LCL613291 |
Logging → Configuration → Frame config → Input value → Other invalid value → cannot resolve logger setting | Cannot resolve logger setting the supplied value. | Call proxy_values when isinstance(error, ExceptionGroup) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL613890 |
Logging → Configuration → Frame config → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during proxy_values. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclLoggerError |
LCL621691 |
Logging → Scopes → Context → State → Operation-specific failure → use logger requires an active use logger handler scope | Use_logger requires an active use_logger_handler scope. | Call current_runtime when runtime is None or runtime.pid != os.getpid() or (not runtime.started) is true. |
Use the operation in its supported lifecycle state. | LclStateError |
LCL621692 |
Logging → Scopes → Context → State → Operation-specific failure → only one logger handler scope is allowed per process initialize a | Only one logger handler scope is allowed per process; initialize after fork. | Call reserve when ACTIVE_RUNTIME is not None is true. |
Use the operation in its supported lifecycle state. | LclStateError |
LCL621890 |
Logging → Scopes → Context → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during LoggerRuntime. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclLoggerError / LclValidationError |
LCL622111 |
Logging → Scopes → Initialize logger scope → Input type → Text type → logger name and prefix must be text | Logger name and prefix must be text. | Call use_logger with name=None for the required logger name and prefix must be text. |
Supply the declared input type. | LclValidationError |
LCL622141 |
Logging → Scopes → Initialize logger scope → Input type → Numeric or boolean type → verbose enabled must be boolean | The verbose switch must be Boolean. | Enter use_verbose(logger, enabled=1). |
Pass True or False without coercion. | LclValidationError |
LCL622191 |
Logging → Scopes → Initialize logger scope → Input type → Other input type → verbose logger type | The verbose destination has an unsupported type. | Enter use_verbose(object()). |
Pass a standard-library logger, an lclang Logger, or None. | LclValidationError |
LCL622221 |
Logging → Scopes → Initialize logger scope → Input value → Range violation → emit level must be a nonnegative integer | Emit_level must be a nonnegative integer. | Call use_logger when type(emit_level) is not int or emit_level < 0 is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL622691 |
Logging → Scopes → Initialize logger scope → State → Operation-specific failure → logger handler scope is closing | Logger handler scope is closing. | Call use_logger when runtime.handler.closing is true. |
Use the operation in its supported lifecycle state. | LclStateError |
LCL622811 |
Logging → Scopes → Initialize logger scope → External operation → Logging scope cleanup → cleanup failure | A logging scope cleanup operation failed. | Let an owned handler close or writer join raise OSError. |
Inspect the cause; the scope attempts remaining cleanup and releases ownership. | LclErrorGroup (grouped failures) / LclLoggerError |
LCL622890 |
Logging → Scopes → Initialize logger scope → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during finish_cleanup. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclLoggerError |
LCL622911 |
Logging → Scopes → Initialize logger scope → Invariant → Combined scope failures → composite failure | Logging execution and cleanup, or several cleanup operations, failed. | Raise in the logging scope and in its owned handler close. | Inspect every group member. | LclError |
LCL623141 |
Logging → Scopes → Install exception hooks → Input type → Numeric or boolean type → exception hook threads type | The hook thread flag is not Boolean. | Call install_exception_hooks(include_threads=1). |
Pass True or False. | LclValidationError |
LCL623191 |
Logging → Scopes → Install exception hooks → Input type → Other input type → exception hook loop type | The selected loop is not an AbstractEventLoop or None. | Call install_exception_hooks(loop=object()). |
Pass an explicit event loop or None. | LclValidationError |
LCL623890 |
Logging → Scopes → Install exception hooks → External operation → Native boundary failure → No further refinement | A native operation failed while installing exception hooks. | A supplied loop raises from set_exception_handler. |
Inspect the native cause and keep the previous handlers. | LclLoggerError / LclErrorGroup |
LCL625811 |
Logging → Scopes → Start logger sinks → External operation → Missing or closed value → startup failure | Log sink startup failed. | Call use_logger_handler when isinstance(startup_error, Exception) is true. |
Inspect the retained cause and correct the failing operation. | LclErrorGroup (grouped failures) / LclLoggerError |
LCL631111 |
Logging → Sinks → Sink config → Input type → Text type → console stream type | The supplied value.stream: expected stdout, stderr, or a text stream. | Call console_config with required input=None for the required the supplied value.stream: expected stdout, stderr, or a text stream. |
Supply the declared input type. | LclValidationError |
LCL631191 |
Logging → Sinks → Sink config → Input type → Other input type → sink directory type | The supplied value.directory: expected a path. | Call file_config with directory=None for the required the supplied value.directory: expected a path. |
Supply the declared input type. | LclValidationError |
LCL631192 |
Logging → Sinks → Sink config → Input type → Other input type → sink encoding name type | The supplied value.encoding: expected encoding name. | Call file_config with encoding=None for the required the supplied value.encoding: expected encoding name. |
Supply the declared input type. | LclValidationError |
LCL631211 |
Logging → Sinks → Sink config → Input value → Empty value → sink filename must be nonempty leaf | The supplied value: expected nonempty leaf filename. | Use an empty required value in leaf_filename. |
Correct the invalid value or declaration. | LclValidationError |
LCL631271 |
Logging → Sinks → Sink config → Input value → Required structure → enabled sink requires directory | The supplied value.directory: enabled sink requires a directory. | Call file_config when enabled and (not template) and (not directory) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL631291 |
Logging → Sinks → Sink config → Input value → Other invalid value → sink filename must be portable leaf | The supplied value: expected portable leaf filename. | Call leaf_filename when any((char in value for char in '/\\\x00\n\r<>:"\|?*')) or value.endswith((' ', '.')) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL631292 |
Logging → Sinks → Sink config → Input value → Other invalid value → value | The supplied value: the supplied value. | In leaf_filename, trigger: the supplied value: the supplied value. |
Correct the invalid value or declaration. | LclValidationError |
LCL631293 |
Logging → Sinks → Sink config → Input value → Other invalid value → unsupported sink filename placeholder | The supplied value: only {pid} and {process} are supported. | Call leaf_filename when key is not None and (key not in ('pid', 'process') or spec or conversion) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL631294 |
Logging → Sinks → Sink config → Input value → Other invalid value → unknown sink encoding | The supplied value.encoding: the supplied value. | In file_config, trigger: the supplied value.encoding: the supplied value. |
Correct the invalid value or declaration. | LclValidationError |
LCL631890 |
Logging → Sinks → Sink config → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during ConsoleConfig. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclLoggerError / LclValidationError |
LCL632221 |
Logging → Sinks → Rotation → Input value → Range violation → max bytes must be nonnegative integer | The supplied value.max_bytes: expected nonnegative integer bytes. | Call rotation_config when type(maximum) is not int or maximum < 0 is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL632222 |
Logging → Sinks → Rotation → Input value → Range violation → size rotation requires positive max bytes | The supplied value.max_bytes: size rotation requires positive bytes. | Call rotation_config when not partial and mode in ('size', 'size_or_time') and (maximum == 0) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL632223 |
Logging → Sinks → Rotation → Input value → Range violation → invalid rotation interval | The supplied value.interval: expected positive integer s/m/h/d. | Call rotation_config when not isinstance(interval, str) or not (match := re.fullmatch('([1-9]\\d*)([smhd])', interval)) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL632251 |
Logging → Sinks → Rotation → Input value → Invalid spelling or format → invalid rotation mode | The supplied value.mode: invalid rotation mode. | Call rotation_config when mode not in ('none', 'size', 'time', 'size_or_time') is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL632271 |
Logging → Sinks → Rotation → Input value → Required structure → time rotation requires interval | The supplied value.interval: time rotation requires an interval. | Call rotation_config when not partial and mode in ('time', 'size_or_time') and (not seconds) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL632272 |
Logging → Sinks → Rotation → Input value → Required structure → aligned rotation requires one hour or day utc | The supplied value.align: aligned intervals must be 1h or 1d UTC. | Call rotation_config when align and interval not in ('1h', '1d') and (not (partial and interval is None)) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL632890 |
Logging → Sinks → Rotation → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during RotationConfig. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclLoggerError / LclValidationError |
LCL633611 |
Logging → Sinks → Write and close file sinks → State → Missing or closed value → sink not open | File sink initialization produced no open stream. | Use a sink initializer that returns without opening its stream. | Correct the sink lifecycle before writing. | LclStateError |
LCL633890 |
Logging → Sinks → Write and close file sinks → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during FileSink. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclLoggerError / LclValidationError |
LCL634890 |
Logging → Sinks → Write console output → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during ConsoleSink. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclLoggerError / LclValidationError |
LCL635811 |
Logging → Sinks → Dispatch logger output → External operation → Missing or closed value → write failure | A log sink failed during output. | Call Dispatcher.report when sys.__stderr__ is not None is true. |
Inspect the retained cause and correct the failing operation. | LclErrorGroup (grouped failures) / LclLoggerError |
LCL635890 |
Logging → Sinks → Dispatch logger output → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during Dispatcher. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclLoggerError / LclValidationError |
LCL636890 |
Logging → Sinks → Queue logger records → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during LocalQueueHandler. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclLoggerError / LclValidationError |
LCL641890 |
Logging → Formatting → Format logger records → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during RecordFormatter. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclLoggerError / LclValidationError |
7: Utilities¶
| Code | Classification path | Cause | Minimal trigger | Handling | Exception type |
|---|---|---|---|---|---|
LCL700000 |
Utilities → Unspecified subsystem → Unspecified operation → Unspecified failure category → Unspecified cause → No further refinement | Default code for application-created failures of this family. | Construct LclUtilityError("application failure") without a code override. |
Choose a specific application code when the application knows the reason. | LclUtilityError |
LCL711111 |
Utilities → Calendars → Classify dates → Input type → Text type → calendar id must be text | Calendar ID must be text. | Call validate_calendar_error_id with value=None for the required calendar id must be text. |
Supply the declared input type. | LclValidationError |
LCL711171 |
Utilities → Calendars → Classify dates → Input type → Date or calendar type → hardcoded calendar keys must be dates | Hardcoded calendar keys must be dates. | Call DateOperationOutOfScopeException with source_date=None for the required hardcoded calendar keys must be dates. |
Supply the declared input type. | LclValidationError |
LCL711172 |
Utilities → Calendars → Classify dates → Input type → Date or calendar type → hardcoded calendar values must be daytype | Hardcoded calendar values must be DayType. | Call HardcodedBDCalendar with value=None for the required hardcoded calendar values must be daytype. |
Supply the declared input type. | LclValidationError |
LCL711173 |
Utilities → Calendars → Classify dates → Input type → Date or calendar type → calendar reference type | A calendar diagnostic lacks a calendar with a text ID. | DateOperationOutOfScopeException(date(2026, 1, 1), None). |
Pass a calendar exposing its calendar ID. | LclValidationError |
LCL711211 |
Utilities → Calendars → Classify dates → Input value → Empty value → calendar id cannot be empty | Calendar ID cannot be empty. | Use an empty required value in validate_calendar_error_id. |
Correct the invalid value or declaration. | LclValidationError |
LCL711391 |
Utilities → Calendars → Classify dates → Calendar attributes → Operation-specific failure → calendar field value is immutable | Calendar field the supplied value is immutable. | Call BDCalendar.__setattr__ when not name.startswith('_') and hasattr(self, name) is true. |
Supply the name or correct the lookup. | LclAttributeError |
LCL711890 |
Utilities → Calendars → Classify dates → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during BDCalendar. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclUtilityError / LclValidationError |
LCL711891 |
Utilities → Calendars → Classify dates → External operation → Native boundary failure → Calendar classification callback failed | The calendar classifier failed. | CalendarLogicException encounters this condition. |
Inspect the retained cause and correct the failing operation. | CalendarLogicException / LclErrorGroup (grouped failures) |
LCL711991 |
Utilities → Calendars → Classify dates → Invariant → Operation-specific failure → No business date in the calendar's supported scope | The calendar cannot resolve the requested business date. | DateOperationOutOfScopeException encounters this condition. |
Correct the violated declaration or operation constraint. | DateOperationOutOfScopeException |
LCL712111 |
Utilities → Calendars → Load calendars → Input type → Text type → calendar id must be non empty text | Calendar ID must be non-empty text. | Call BDCalendarManager.use_calendar with calendar_id=None for the required calendar id must be non-empty text. |
Supply the declared input type. | LclValidationError |
LCL712171 |
Utilities → Calendars → Load calendars → Input type → Date or calendar type → hardcoded calendar directory must be a path | Hardcoded calendar directory must be a Path. | Call FileSystemHardcodedBDCalendarLoader with hardcoded_calendar_dir=None for the required hardcoded calendar directory must be a path. |
Supply the declared input type. | LclValidationError |
LCL712172 |
Utilities → Calendars → Load calendars → Input type → Date or calendar type → calendar manager loaders must be bdcalendarloader values | Calendar manager loaders must be BDCalendarLoader values. | Call BDCalendarManager with loader=None for the required calendar manager loaders must be bdcalendarloader values. |
Supply the declared input type. | LclValidationError |
LCL712231 |
Utilities → Calendars → Load calendars → Input value → Duplicate value → calendar json dates cannot repeat | Calendar JSON dates cannot repeat. | Repeat the named declaration or value in read_calendar_json. |
Correct the invalid value or declaration. | LclValidationError |
LCL712271 |
Utilities → Calendars → Load calendars → Input value → Required structure → calendar json requires exactly business days and holidays | Calendar JSON requires exactly business_days and holidays. | Call read_calendar_json when not isinstance(raw, dict) or set(cast(dict[object, object], raw)) != {'business_days', 'holidays'} is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL712272 |
Utilities → Calendars → Load calendars → Input value → Required structure → calendar json fields must be arrays | Calendar JSON fields must be arrays. | Call read_calendar_json when not isinstance(business, list) or not isinstance(holidays, list) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL712273 |
Utilities → Calendars → Load calendars → Input value → Required structure → calendar json dates must be yyyymmdd strings | Calendar JSON dates must be YYYYMMDD strings. | Call read_calendar_json when any((not isinstance(value, str) for value in (*cast(list[object], business), *cast(list[object], holidays)))) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL712291 |
Utilities → Calendars → Load calendars → Input value → Other invalid value → calendar json business days and holidays cannot overlap | Calendar JSON business days and holidays cannot overlap. | Call read_calendar_json when set(business) & set(holidays) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL712292 |
Utilities → Calendars → Load calendars → Input value → Other invalid value → loader returned a mismatched calendar id | Loader returned a mismatched calendar ID. | Call BDCalendarManager.load_named_calendar when calendar.calendar_id != calendar_id is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL712890 |
Utilities → Calendars → Load calendars → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during BDCalendarLoader.load_calendar. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclUtilityError / LclValidationError |
LCL712891 |
Utilities → Calendars → Load calendars → External operation → Native boundary failure → Named calendar loading failed | The requested calendar could not be loaded. | CalendarCannotLoadException encounters this condition. |
Inspect the retained cause and correct the failing operation. | CalendarCannotLoadException / LclErrorGroup (grouped failures) |
LCL712892 |
Utilities → Calendars → Load calendars → External operation → Native boundary failure → No loader resolved the calendar | The requested calendar cannot be resolved by its loaders. | BDCalendarManager.use_calendar encounters this condition. |
Inspect the retained cause and correct the failing operation. | CalendarCannotLoadException / LclErrorGroup (grouped failures) |
LCL712893 |
Utilities → Calendars → Load calendars → External operation → Native boundary failure → Calendar retirement failed | Calendar retirement failed. | BDCalendarManager.retire_calendar encounters this condition. |
Inspect the retained cause and correct the failing operation. | CalendarLogicException / LclErrorGroup (grouped failures) |
LCL713121 |
Utilities → Calendars → Map dates → Input type → Mapping type → mapping base must be a bdcalendar | Mapping base must be a BDCalendar. | Call BDCalendarMapOperation with base_calendar=None for the required mapping base must be a bdcalendar. |
Supply the declared input type. | LclValidationError |
LCL713122 |
Utilities → Calendars → Map dates → Input type → Mapping type → mapping operations must be bdcalendarmapoperation values | Mapping operations must be BDCalendarMapOperation values. | Call BDCalendarMapping with item=None for the required mapping operations must be bdcalendarmapoperation values. |
Supply the declared input type. | LclValidationError |
LCL713141 |
Utilities → Calendars → Map dates → Input type → Numeric or boolean type → business day shift must be an integer | Business-day shift must be an integer. | Call ShiftNDaysMapOperation with n=None for the required business-day shift must be an integer. |
Supply the declared input type. | LclValidationError |
LCL713271 |
Utilities → Calendars → Map dates → Input value → Required structure → calendar map result requires an applied mapping | Calendar-map result requires an applied mapping. | Call CalendarMapBDCalendar when not mapping.has_applied is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL713291 |
Utilities → Calendars → Map dates → Input value → Other invalid value → business day shift exceeds primitive mapping bound | Business-day shift exceeds primitive mapping bound. | Call ShiftNDaysMapOperation when abs(n) > MAX_BUSINESS_DAY_SHIFT_DAYS is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL713391 |
Utilities → Calendars → Map dates → Mapping attributes → Operation-specific failure → mapping field is immutable | The supplied value is immutable. | Call BDCalendarMapOperation.__setattr__ when name in {'base_calendar', 'mapped_dates', 'n', 'operations'} is true. |
Supply the name or correct the lookup. | LclAttributeError |
LCL713890 |
Utilities → Calendars → Map dates → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during BDCalendarMapOperation. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclUtilityError / LclValidationError |
LCL713931 |
Utilities → Calendars → Map dates → Invariant → Source constraint → Navigation displacement unavailable | The navigation displacement cannot be resolved. | BDCalendarMapOperation.validate_displacement encounters this condition. |
Correct the violated declaration or operation constraint. | DateOperationOutOfScopeException |
LCL713981 |
Utilities → Calendars → Map dates → Invariant → Target constraint → No inverse mapping result | The date mapping has no inverse result. | BDCalendarMapOperation.map_date_reverse encounters this condition. |
Correct the violated declaration or operation constraint. | DateOperationOutOfScopeException |
LCL713991 |
Utilities → Calendars → Map dates → Invariant → Operation-specific failure → operation is unavailable | Operation is unavailable. | Call UnappliedCalendarOperationException when not self.has_applied is true. |
Correct the violated declaration or operation constraint. | UnappliedCalendarOperationException |
LCL714171 |
Utilities → Calendars → Compose calendars → Input type → Date or calendar type → calendar composition requires bdcalendar values | Calendar composition requires BDCalendar values. | Call ordered_calendars with calendar=None for the required calendar composition requires bdcalendar values. |
Supply the declared input type. | LclValidationError |
LCL714172 |
Utilities → Calendars → Compose calendars → Input type → Date or calendar type → base calendar must be a bdcalendar | Base calendar must be a BDCalendar. | Call SubtractionBDCalendar with base_calendar=None for the required base calendar must be a bdcalendar. |
Supply the declared input type. | LclValidationError |
LCL714271 |
Utilities → Calendars → Compose calendars → Input value → Required structure → calendar composition requires at least one operand | Calendar composition requires at least one operand. | Call ordered_calendars when not by_id is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL714890 |
Utilities → Calendars → Compose calendars → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during filter_day_type. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclUtilityError / LclValidationError |
LCL714891 |
Utilities → Calendars → Compose calendars → External operation → Native boundary failure → Dependency calendar classifier failed | A dependency classifier failed. | dependency_day_type encounters this condition. |
Inspect the retained cause and correct the failing operation. | CalendarLogicException / LclErrorGroup (grouped failures) |
LCL715111 |
Utilities → Calendars → Construct calendars → Input type → Text type → dependency ids must be non empty text | Dependency IDs must be non-empty text. | Call CallableBDCalendar.get_dependency_ids with value=None for the required dependency ids must be non-empty text. |
Supply the declared input type. | LclValidationError |
LCL715112 |
Utilities → Calendars → Construct calendars → Input type → Text type → calendar date must be date yyyymmdd text or integer | Calendar date must be date, YYYYMMDD text, or integer. | Call coerce_calendar_date with required input=None for the required calendar date must be date, yyyymmdd text, or integer. |
Supply the declared input type. | LclValidationError |
LCL715141 |
Utilities → Calendars → Construct calendars → Input type → Numeric or boolean type → nth values must be integers | Nth values must be integers. | Call canonical_nth with value=None for the required nth values must be integers. |
Supply the declared input type. | LclValidationError |
LCL715161 |
Utilities → Calendars → Construct calendars → Input type → Callable type → day type function must be callable | Day type function must be callable. | Call CallableBDCalendar with required input=None for the required day type function must be callable. |
Supply the declared input type. | LclValidationError |
LCL715162 |
Utilities → Calendars → Construct calendars → Input type → Callable type → dependency function must be callable | Dependency function must be callable. | Call CallableBDCalendar with required input=None for the required dependency function must be callable. |
Supply the declared input type. | LclValidationError |
LCL715271 |
Utilities → Calendars → Construct calendars → Input value → Required structure → integer calendar date must fit yyyymmdd | Integer calendar date must fit YYYYMMDD. | Call coerce_calendar_date when isinstance(value, int) and (not isinstance(value, bool)) and (value >= 0) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL715272 |
Utilities → Calendars → Construct calendars → Input value → Required structure → nth values must be 31 1 or 1 31 | Nth values must be -31..-1 or 1..31. | Call canonical_nth when any((value == 0 or not -31 <= value <= 31 for value in values)) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL715890 |
Utilities → Calendars → Construct calendars → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during CallableBDCalendar. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclUtilityError / LclValidationError |
LCL715891 |
Utilities → Calendars → Construct calendars → External operation → Native boundary failure → Calendar classifier callback failed | The calendar classifier callback failed. | CallableBDCalendar.get_day_type encounters this condition. |
Inspect the retained cause and correct the failing operation. | CalendarLogicException / LclErrorGroup (grouped failures) |
LCL716221 |
Utilities → Calendars → Builtin calendars → Input value → Range violation → weekday must be between 0 and 6 | Weekday must be between 0 and 6. | Call WeekdayBDCalendar when not isinstance(weekday, int) or isinstance(weekday, bool) or (not 0 <= weekday <= 6) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL716890 |
Utilities → Calendars → Builtin calendars → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during AllDaysBDCalendar.get_day_type. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclUtilityError / LclValidationError |
LCL717171 |
Utilities → Calendars → Generate dates → Input type → Date or calendar type → first business day must be a date | First business day must be a date. | Call ForwardStepBDCalendar with first_bd=None for the required first business day must be a date. |
Supply the declared input type. | LclValidationError |
LCL717271 |
Utilities → Calendars → Generate dates → Input value → Required structure → forward business dates must increase | Forward business dates must increase. | Call ForwardStepBDCalendar.cache_through when not isinstance(following, date) or following <= previous is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL717890 |
Utilities → Calendars → Generate dates → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during ForwardStepBDCalendar. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclUtilityError / LclValidationError |
LCL717891 |
Utilities → Calendars → Generate dates → External operation → Native boundary failure → date generator failure | Self calendar id. | Call ForwardStepBDCalendar.cache_through when not isinstance(following, date) or following <= previous is true. |
Inspect the retained cause and correct the failing operation. | CalendarLogicException / LclErrorGroup (grouped failures) |
LCL717991 |
Utilities → Calendars → Generate dates → Invariant → Operation-specific failure → No preceding business date | The sparse calendar has no preceding business date. | ForwardStepBDCalendar.prev_bd encounters this condition. |
Correct the violated declaration or operation constraint. | DateOperationOutOfScopeException |
LCL718121 |
Utilities → Calendars → Batch years → Input type → Mapping type → year generator must return a dictionary | Year generator must return a dictionary. | Call YearBatchBDCalendar.loaded_year with raw=None for the required year generator must return a dictionary. |
Supply the declared input type. | LclValidationError |
LCL718291 |
Utilities → Calendars → Batch years → Input value → Other invalid value → year batch contains a date outside its year | Year batch contains a date outside its year. | Call YearBatchBDCalendar.loaded_year when not isinstance(d, date) or d.year != year is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL718890 |
Utilities → Calendars → Batch years → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during YearBatchBDCalendar. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclUtilityError / LclValidationError |
LCL718891 |
Utilities → Calendars → Batch years → External operation → Native boundary failure → Year batch classifier failed | Year-batch classification failed. | YearBatchBDCalendar.loaded_year encounters this condition. |
Inspect the retained cause and correct the failing operation. | CalendarLogicException / LclErrorGroup (grouped failures) |
LCL718991 |
Utilities → Calendars → Batch years → Invariant → Operation-specific failure → No business date in the year batch | The year-batch calendar cannot resolve the business date. | YearBatchBDCalendar.next_bd encounters this condition. |
Correct the violated declaration or operation constraint. | DateOperationOutOfScopeException |
LCL719171 |
Utilities → Calendars → Validate date operations → Input type → Date or calendar type → calendar navigation must return a date | Calendar navigation must return a date. | Call require_calendar_date with value=None for the required calendar navigation must return a date. |
Supply the declared input type. | LclValidationError |
LCL719172 |
Utilities → Calendars → Validate date operations → Input type → Date or calendar type → calendar classifier must return daytype | Calendar classifier must return DayType. | Call require_day_type with value=None for the required calendar classifier must return daytype. |
Supply the declared input type. | LclValidationError |
LCL719221 |
Utilities → Calendars → Validate date operations → Input value → Range violation → calendar year must be between 1 and 9999 | Calendar year must be between 1 and 9999. | Call year_dates when not isinstance(year, int) or isinstance(year, bool) or (not 1 <= year <= 9999) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL719890 |
Utilities → Calendars → Validate date operations → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during dependency_date. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclUtilityError |
LCL719891 |
Utilities → Calendars → Validate date operations → External operation → Native boundary failure → Dependency calendar navigation failed | A dependency calendar navigation failed. | dependency_date encounters this condition. |
Inspect the retained cause and correct the failing operation. | CalendarLogicException / LclErrorGroup (grouped failures) |
LCL721191 |
Utilities → Boxes → Boxes → Input type → Other input type → workflow value has an incompatible box type | Workflow value has an incompatible box type. | Call box_value with value=None for the required workflow value has an incompatible box type. |
Supply the declared input type. | LclValidationError |
LCL721192 |
Utilities → Boxes → Boxes → Input type → Other input type → workflow output must match its declared box type | Workflow output must match its declared box type. | Call unbox_value with value=None for the required workflow output must match its declared box type. |
Supply the declared input type. | LclValidationError |
LCL721890 |
Utilities → Boxes → Boxes → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during ValueBox. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclUtilityError / LclValidationError |
LCL731111 |
Utilities → Environment → Environment → Input type → Text type → environment variable name must be text | Environment variable name must be text. | Call Environment.get with name=None for the required environment variable name must be text. |
Supply the declared input type. | LclValidationError |
LCL731391 |
Utilities → Environment → Environment → Name or attribute resolution → Operation-specific failure → Environment attribute unavailable | The environment namespace attribute is unavailable. | Environment.__getattr__ encounters this condition. |
Supply the name or correct the lookup. | LclAttributeError |
LCL731890 |
Utilities → Environment → Environment → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during BoundEnvironment. |
Inspect the native cause and the operation note. | LclAttributeError / LclErrorGroup (grouped failures) / LclUtilityError / LclValidationError |
LCL741141 |
Utilities → Snowflake IDs → Snowflake ids → Input type → Numeric or boolean type → argument must be an integer excluding bool | The supplied value must be an integer excluding bool. | Call SnowflakeGenerator with value=True for the required the supplied value must be an integer excluding bool. |
Supply the declared input type. | LclValidationError |
LCL741221 |
Utilities → Snowflake IDs → Snowflake ids → Input value → Range violation → worker id must be at most | Worker_id must be at most the supplied value. | Call SnowflakeGenerator when worker_id > MAX_WORKER_ID is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL741222 |
Utilities → Snowflake IDs → Snowflake ids → Input value → Range violation → argument must be nonnegative | The supplied value must be nonnegative. | Call SnowflakeGenerator when value < 0 is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL741291 |
Utilities → Snowflake IDs → Snowflake ids → Input value → Other invalid value → clock precedes the snowflake epoch | Clock precedes the Snowflake epoch. | Call SnowflakeGenerator.next_id when timestamp_ms < 0 is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL741691 |
Utilities → Snowflake IDs → Snowflake ids → State → Operation-specific failure → clock moved backward during snowflake generation | Clock moved backward during Snowflake generation. | Call SnowflakeGenerator.next_id when timestamp_ms < self._last_timestamp_ms is true. |
Use the operation in its supported lifecycle state. | LclStateError |
LCL741890 |
Utilities → Snowflake IDs → Snowflake ids → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during SnowflakeGenerator. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclUtilityError / LclValidationError |
LCL741891 |
Utilities → Snowflake IDs → Snowflake ids → External operation → Native boundary failure → snowflake timestamp exhausted | Snowflake timestamp exhausted. | Call SnowflakeGenerator.next_id when timestamp_ms > MAX_TIMESTAMP_MS is true. |
Inspect the retained cause and correct the failing operation. | LclErrorGroup (grouped failures) / LclUtilityError |
LCL741892 |
Utilities → Snowflake IDs → Snowflake ids → External operation → Native boundary failure → snowflake sequence exhausted retry after the clock advances | Snowflake sequence exhausted; retry after the clock advances. | Call SnowflakeGenerator.next_id when sequence > MAX_SEQUENCE is true. |
Inspect the retained cause and correct the failing operation. | LclErrorGroup (grouped failures) / LclUtilityError |
LCL751111 |
Utilities → Flattening → Flattening → Input type → Text type → flattening prefix must be text | Flattening prefix must be text. | Call flatten_to_dict with prefix=None for the required flattening prefix must be text. |
Supply the declared input type. | LclValidationError |
LCL751121 |
Utilities → Flattening → Flattening → Input type → Mapping type → flatten to dict requires a dataclass instance | Flatten_to_dict requires a dataclass instance. | Call flatten_to_dict with instance=None for the required flatten_to_dict requires a dataclass instance. |
Supply the declared input type. | LclValidationError |
LCL751141 |
Utilities → Flattening → Flattening → Input type → Numeric or boolean type → nested must be a bool or set of relative paths | Nested must be a bool or set of relative paths. | Call flatten_to_dict with nested=None for the required nested must be a bool or set of relative paths. |
Supply the declared input type. | LclValidationError |
LCL751271 |
Utilities → Flattening → Flattening → Input value → Required structure → selected paths must be relative dotted field names | Selected paths must be relative dotted field names. | Call flatten_to_dict when not all((part.isidentifier() for part in parts)) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL751281 |
Utilities → Flattening → Flattening → Input value → Cyclic value → cyclic dataclass expansion at | Cyclic dataclass expansion at the supplied value. | Call visit when id(record) in active is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL751291 |
Utilities → Flattening → Flattening → Input value → Other invalid value → unknown selected dataclass path missing | 'unknown selected dataclass path: ' + missing. | Call flatten_to_dict when selected - visited is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL751292 |
Utilities → Flattening → Flattening → Input value → Other invalid value → selected path is not a dataclass | Selected path is not a dataclass: the supplied value. | Call visit when key in expand and (not is_record) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL751890 |
Utilities → Flattening → Flattening → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during flatten_to_dict. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclUtilityError |
LCL761111 |
Utilities → Representations → Representations → Input type → Text type → representation renderer must return text | Representation renderer must return text. | Call safe_repr with rendered=None for the required representation renderer must return text. |
Supply the declared input type. | LclValidationError |
LCL761112 |
Utilities → Representations → Representations → Input type → Text type → representation field names must be strings | Representation field names must be strings. | Call make_repr_lines with name=None for the required representation field names must be strings. |
Supply the declared input type. | LclValidationError |
LCL761121 |
Utilities → Representations → Representations → Input type → Mapping type → representations require dataclass instances or dictionaries | Representations require dataclass instances or dictionaries. | Call make_repr_lines with instances=None for the required representations require dataclass instances or dictionaries. |
Supply the declared input type. | LclValidationError |
LCL761141 |
Utilities → Representations → Representations → Input type → Numeric or boolean type → representation length must be an integer or none | Representation length must be an integer or None. | Call safe_repr with max_length=None for the required representation length must be an integer or none. |
Supply the declared input type. | LclValidationError |
LCL761221 |
Utilities → Representations → Representations → Input value → Range violation → representation length cannot be negative | Representation length cannot be negative. | Call safe_repr when max_length < 0 is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL761222 |
Utilities → Representations → Representations → Input value → Range violation → key column length cannot be negative | Key column length cannot be negative. | Call align_repr_fields when key_column_length < 0 is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL761890 |
Utilities → Representations → Representations → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during safe_repr. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclUtilityError |
LCL771811 |
Utilities → Invocation → Invoke callbacks → External operation → Missing or closed value → invocation failure | A supplied callback failed. | In invoke, trigger: a supplied callback failed. |
Inspect the retained cause and correct the failing operation. | LclErrorGroup (grouped failures) / LclUtilityError |
LCL781161 |
Utilities → Defaults → Construct defaults → Input type → Callable type → default and callable default factory are mutually exclusive | Default and callable default_factory are mutually exclusive. | Call DefaultBinding with required input=None for the required default and callable default_factory are mutually exclusive. |
Supply the declared input type. | LclValidationError |
LCL781890 |
Utilities → Defaults → Construct defaults → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during DefaultBinding. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclValidationError |
8: Core data¶
| Code | Classification path | Cause | Minimal trigger | Handling | Exception type |
|---|---|---|---|---|---|
LCL811111 |
Core → Source positions → Source → Input type → Text type → source snapshot requires text and a sourceposition | Source snapshot requires text and a SourcePosition. | Call SourceSnapshot with self.text=None for the required source snapshot requires text and a sourceposition. |
Supply the declared input type. | LclValidationError |
LCL811141 |
Core → Source positions → Source → Input type → Numeric or boolean type → coordinate type | Source coordinates are not integers, or include bool. | SourcePosition(True, 1, 0). |
Use integer coordinates excluding bool. | LclValidationError |
LCL811181 |
Core → Source positions → Source → Input type → Annotation or source type → source span snapshot must be a sourcesnapshot or none | Source span snapshot must be a SourceSnapshot or None. | Call SourceSpan with self.snapshot=None for the required source span snapshot must be a sourcesnapshot or none. |
Supply the declared input type. | LclValidationError |
LCL811221 |
Core → Source positions → Source → Input value → Range violation → source coordinate must be positive | A display coordinate is less than one. | SourcePosition(0, 1, 0) or SourcePosition(1, 0, 0). |
Use one-based line and column numbers. | LclValidationError |
LCL811223 |
Core → Source positions → Source → Input value → Range violation → source offset cannot be negative | Source offset cannot be negative. | Call SourcePosition when self.offset < 0 is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL811291 |
Core → Source positions → Source → Input value → Other invalid value → source span end cannot precede its start | Source span end cannot precede its start. | Call SourceSpan when self.end.offset < self.start.offset is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL811890 |
Core → Source positions → Source → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during SourceOrigin. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclValidationError |
LCL821211 |
Core → AST values → Atoms → Input value → Empty value → ast name identifier cannot be empty | AST name identifier cannot be empty. | Use an empty required value in LclName. |
Correct the invalid value or declaration. | LclValidationError |
LCL821890 |
Core → AST values → Atoms → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during LclConstant. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclValidationError |
LCL822211 |
Core → AST values → Call arguments → Input value → Empty value → keyword argument name cannot be empty | Keyword argument name cannot be empty. | Use an empty required value in LclKeywordArgument. |
Correct the invalid value or declaration. | LclValidationError |
LCL822890 |
Core → AST values → Call arguments → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during LclPositionalArgument. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclValidationError |
LCL823211 |
Core → AST values → Displays → Input value → Empty value → record field name cannot be empty | Record field name cannot be empty. | Use an empty required value in LclRecordField. |
Correct the invalid value or declaration. | LclValidationError |
LCL823271 |
Core → AST values → Displays → Input value → Required structure → record display requires at least one field | Record display requires at least one field. | Call LclRecordDisplay when not self.fields is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL823890 |
Core → AST values → Displays → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during LclStarred. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclValidationError |
LCL824211 |
Core → AST values → Control forms → Input value → Empty value → except binding name cannot be empty | Except binding name cannot be empty. | Use an empty required value in LclExceptHandler. |
Correct the invalid value or declaration. | LclValidationError |
LCL824271 |
Core → AST values → Control forms → Input value → Required structure → try form requires except or finally | Try form requires except or finally. | Call LclTry when not self.handlers and self.finally_body is None is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL824272 |
Core → AST values → Control forms → Input value → Required structure → with form requires at least one context item | With form requires at least one context item. | Call LclWith when not self.items is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL824291 |
Core → AST values → Control forms → Input value → Other invalid value → bare except handler cannot bind a name | Bare except handler cannot bind a name. | Call LclExceptHandler when self.name is not None and self.exception is None is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL824890 |
Core → AST values → Control forms → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during LclExceptHandler. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclValidationError |
LCL825271 |
Core → AST values → Comprehensions → Input value → Required structure → comprehension requires at least one for clause | Comprehension requires at least one for clause. | Call InternalSequenceComprehension when not self.clauses is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL825272 |
Core → AST values → Comprehensions → Input value → Required structure → dict comprehension requires at least one for clause | Dict comprehension requires at least one for clause. | Call LclDictComprehension when not self.clauses is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL825890 |
Core → AST values → Comprehensions → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during LclComprehensionClause. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclValidationError |
LCL826211 |
Core → AST values → Forms → Input value → Empty value → function parameter name cannot be empty | Function parameter name cannot be empty. | Use an empty required value in LclParameter. |
Correct the invalid value or declaration. | LclValidationError |
LCL826291 |
Core → AST values → Forms → Input value → Other invalid value → variadic function parameter cannot have a default | Variadic function parameter cannot have a default. | Call LclParameter when self.default is not None and self.kind in {ParameterKind.VAR_POSITIONAL, ParameterKind.VAR_KEYWORD} is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL826890 |
Core → AST values → Forms → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during LclParameter. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclValidationError |
LCL827271 |
Core → AST values → Expressions → Input value → Required structure → boolean expression requires at least two operands | Boolean expression requires at least two operands. | Call LclBoolean when len(self.values) < 2 is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL827272 |
Core → AST values → Expressions → Input value → Required structure → comparison requires one comparator per operator | Comparison requires one comparator per operator. | Call LclCompare when not self.operators or len(self.operators) != len(self.comparators) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL827890 |
Core → AST values → Expressions → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during LclUnary. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclValidationError |
LCL828211 |
Core → AST values → Fstrings → Input value → Empty value → f string text segment cannot be empty | F-string text segment cannot be empty. | Use an empty required value in LclStringText. |
Correct the invalid value or declaration. | LclValidationError |
LCL828261 |
Core → AST values → Fstrings → Input value → Unsupported value → unsupported f string conversion | Unsupported f-string conversion. | Call LclFormattedValue when self.conversion not in {None, 's', 'r', 'a'} is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL828890 |
Core → AST values → Fstrings → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during LclStringText. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclValidationError |
LCL829211 |
Core → AST values → Primaries → Input value → Empty value → attribute name cannot be empty | Attribute name cannot be empty. | Use an empty required value in LclAttribute. |
Correct the invalid value or declaration. | LclValidationError |
LCL829890 |
Core → AST values → Primaries → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during LclAttribute. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclValidationError |
LCL831111 |
Core → Diagnostic records → Error context → Input type → Text type → diagnostic value names types and representations must be strings | Diagnostic value names, types, and representations must be strings. | Call DiagnosticValue with item=None for the required diagnostic value names, types, and representations must be strings. |
Supply the declared input type. | LclValidationError |
LCL831113 |
Core → Diagnostic records → Error context → Input type → Text type → evaluation context requires a sourcespan and boolean mask | Evaluation context requires a SourceSpan and Boolean mask. | Call EvaluationContextFrame with self.span=None for the required evaluation context requires a sourcespan and boolean mask. |
Supply the declared input type. | LclValidationError |
LCL831131 |
Core → Diagnostic records → Error context → Input type → Sequence type → argument must be a tuple of value records | The supplied value must be a tuple of the supplied value records. | Call validate_record_tuple with value=None for the required the supplied value must be a tuple of the supplied value records. |
Supply the declared input type. | LclValidationError |
LCL831141 |
Core → Diagnostic records → Error context → Input type → Numeric or boolean type → diagnostic value requires a sourcespan and boolean mask | Diagnostic value requires a SourceSpan and Boolean mask. | Call DiagnosticValue with self.span=None for the required diagnostic value requires a sourcespan and boolean mask. |
Supply the declared input type. | LclValidationError |
LCL831181 |
Core → Diagnostic records → Error context → Input type → Annotation or source type → config load declaration span must be a sourcespan or none | Config load declaration span must be a SourceSpan or None. | Call ConfigLoadFrame with self.declaration_span=None for the required config load declaration span must be a sourcespan or none. |
Supply the declared input type. | LclValidationError |
LCL831191 |
Core → Diagnostic records → Error context → Input type → Other input type → config load origin must be a sourceorigin | Config load origin must be a SourceOrigin. | Call ConfigLoadFrame with self.origin=None for the required config load origin must be a sourceorigin. |
Supply the declared input type. | LclValidationError |
LCL831192 |
Core → Diagnostic records → Error context → Input type → Other input type → callable definition type | Diagnostic callable metadata has an unsupported type. | Pass callable_definition=1 to DiagnosticValue. |
Pass PythonCallableDefinition or None. | LclValidationError |
LCL831211 |
Core → Diagnostic records → Error context → Input value → Empty value → diagnostic value name and type cannot be empty | Diagnostic value name and type cannot be empty. | Use an empty required value in DiagnosticValue. |
Correct the invalid value or declaration. | LclValidationError |
LCL831212 |
Core → Diagnostic records → Error context → Input value → Empty value → callable definition text | Callable definition text is empty or not text. | Call PythonCallableDefinition('', 'app.py', 1). |
Provide nonempty qualified-name and filename text. | LclValidationError |
LCL831221 |
Core → Diagnostic records → Error context → Input value → Range violation → callable definition line | Callable definition line is not a positive integer. | Call PythonCallableDefinition('callback', 'app.py', 0). |
Use a positive integer line; Boolean values are invalid. | LclValidationError |
LCL831251 |
Core → Diagnostic records → Error context → Input value → Invalid spelling or format → evaluation context name or kind is invalid | Evaluation context name or kind is invalid. | Call EvaluationContextFrame when not self.name or self.kind not in {'definition', 'function', 'target'} is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL831890 |
Core → Diagnostic records → Error context → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during DiagnosticValue. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclValidationError |
LCL841111 |
Core → Binding names → Scopes → Input type → Text type → binding name must be a string | Binding name must be a string. | Call validate_qualified_name with name=None for the required binding name must be a string. |
Supply the declared input type. | LclValidationError |
LCL841221 |
Core → Binding names → Scopes → Input value → Range violation → scoped binding prefix conflict | Scoped binding conflict between the supplied value and the supplied value. | Supply the conflicting declarations to validate_real_conflicts. |
Correct the invalid value or declaration. | LclValidationError |
LCL841251 |
Core → Binding names → Scopes → Input value → Invalid spelling or format → invalid qualified binding name | Invalid qualified binding name: the supplied value. | Call validate_qualified_name when not parts or any((not part or not part.isidentifier() or part in LCL_RESERVED_NAMES for part in parts)) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL841890 |
Core → Binding names → Scopes → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during get_override_marker. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclValidationError |
LCL842191 |
Core → Binding names → Namespace names → Input type → Other input type → namespace names must be a frozenset | Namespace names must be a frozenset. | Call validate_namespace_names with names=None for the required namespace names must be a frozenset. |
Supply the declared input type. | LclValidationError |
LCL842241 |
Core → Binding names → Namespace names → Input value → Conflicting values → namespace binding conflict | Namespace the supplied value conflicts with binding the supplied value. | Supply the conflicting declarations to validate_namespace_conflicts. |
Correct the invalid value or declaration. | LclValidationError |
LCL842291 |
Core → Binding names → Namespace names → Input value → Other invalid value → namespace name cannot be reserved | Namespace name cannot be reserved. | Call validate_namespace_names when name.startswith('__') is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL842890 |
Core → Binding names → Namespace names → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during validate_namespace_names. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclValidationError |
LCL844111 |
Core → Binding names → Api → Input type → Text type → module name must be a string | Module name must be a string. | Call define_module with name=None for the required module name must be a string. |
Supply the declared input type. | LclValidationError |
LCL844121 |
Core → Binding names → Api → Input type → Mapping type → module expressions must be a dictionary | Module expressions must be a dictionary. | Call define_module with exprs=None for the required module expressions must be a dictionary. |
Supply the declared input type. | LclValidationError |
LCL844191 |
Core → Binding names → Api → Input type → Other input type → frame module must be a module | Frame module must be a Module. | Call define_frame with module=None for the required frame module must be a module. |
Supply the declared input type. | LclValidationError |
LCL844192 |
Core → Binding names → Api → Input type → Other input type → frame base must be a frame | Frame base must be a Frame. | Call define_frame with base=None for the required frame base must be a frame. |
Supply the declared input type. | LclValidationError |
LCL844890 |
Core → Binding names → Api → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during define_module. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclValidationError |
LCL851111 |
Core → Masking → Masking → Input type → Text type → binding names must be strings | Binding names must be strings. | Call split_masked_name with name=None for the required binding names must be strings. |
Supply the declared input type. | LclValidationError |
LCL851231 |
Core → Masking → Masking → Input value → Duplicate value → duplicate normalized binding name | Duplicate normalized binding name: the supplied value. | Repeat the named declaration or value in normalize_masked_mapping. |
Correct the invalid value or declaration. | LclValidationError |
LCL851251 |
Core → Masking → Masking → Input value → Invalid spelling or format → invalid masked binding name | Invalid masked binding name. | Call split_masked_name when not normalized or normalized.endswith(MASK_SUFFIX) or normalized[-1].isspace() is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL851271 |
Core → Masking → Masking → Input value → Required structure → masked names metadata must use normalized names | Masked-names metadata must use normalized names. | Call normalize_masked_names when not name or marked is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL851291 |
Core → Masking → Masking → Input value → Other invalid value → masked name has no binding | Masked name has no binding: the supplied value. | Call normalize_masked_mapping when name not in normalized is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL851890 |
Core → Masking → Masking → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during split_masked_name. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclValidationError |
LCL861111 |
Core → Records → Records → Input type → Text type → record field names must be strings | Record field names must be strings. | Call LclRecord with name=None for the required record field names must be strings. |
Supply the declared input type. | LclValidationError |
LCL861121 |
Core → Records → Records → Input type → Mapping type → record fields must be a mapping | Record fields must be a mapping. | Call LclRecord with fields=None for the required record fields must be a mapping. |
Supply the declared input type. | LclValidationError |
LCL861251 |
Core → Records → Records → Input value → Invalid spelling or format → invalid record field name | Invalid record field name: the supplied value. | Call LclRecord when not name.isidentifier() or name.startswith('__') or name in RECORD_RESERVED_NAMES is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL861271 |
Core → Records → Records → Input value → Required structure → record requires at least one field | Record requires at least one field. | Call LclRecord when not snapshot is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL861391 |
Core → Records → Records → Record attributes → Operation-specific failure → lclrecord is immutable | LclRecord is immutable. | In LclRecord.__setattr__, trigger: lclrecord is immutable. |
Supply the name or correct the lookup. | LclAttributeError |
LCL861392 |
Core → Records → Records → Record attributes → Operation-specific failure → Implementation record attribute unavailable | A hidden implementation attribute was requested. | LclRecord.__getattribute__ encounters this condition. |
Supply the name or correct the lookup. | LclAttributeError |
LCL861890 |
Core → Records → Records → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during LclRecord. |
Inspect the native cause and the operation note. | LclAttributeError / LclErrorGroup (grouped failures) / LclValidationError |
9: Standard library¶
| Code | Classification path | Cause | Minimal trigger | Handling | Exception type |
|---|---|---|---|---|---|
LCL900000 |
Standard Library → Unspecified subsystem → Unspecified operation → Unspecified failure category → Unspecified cause → No further refinement | Default code for application-created failures of this family. | Construct LclStandardError("application failure") without a code override. |
Choose a specific application code when the application knows the reason. | LclStandardError |
LCL911191 |
Standard Library → Manifests → Manifest → Input type → Other input type → manifest entries must be stdlibentry values | Manifest entries must be StdlibEntry values. | Call StdlibManifest with entry=None for the required manifest entries must be stdlibentry values. |
Supply the declared input type. | LclValidationError |
LCL911231 |
Standard Library → Manifests → Manifest → Input value → Duplicate value → duplicate standard library entry name | Duplicate standard-library entry name. | Repeat the named declaration or value in StdlibManifest. |
Correct the invalid value or declaration. | LclValidationError |
LCL911251 |
Standard Library → Manifests → Manifest → Input value → Invalid spelling or format → invalid standard library | Invalid standard-library the supplied value: the supplied value. | Call internal_validate_export_name when not name.isidentifier() or keyword.iskeyword(name) or name.startswith('_') or (name in _RESERVED_NAMES) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL911271 |
Standard Library → Manifests → Manifest → Input value → Required structure → standard library summary must be one non blank line | Standard-library summary must be one non-blank line. | Call StdlibEntry when not self.summary.strip() or '\n' in self.summary or '\r' in self.summary is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL911890 |
Standard Library → Manifests → Manifest → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during StdlibEntry. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclValidationError |
LCL921111 |
Standard Library → JSON → Json values → Input type → Text type → json decode input must be a string | JSON decode input must be a string. | Call json_decode with value=None for the required json decode input must be a string. |
Supply the declared input type. | LclValidationError |
LCL921191 |
Standard Library → JSON → Json values → Input type → Other input type → json value type | A value has no standard JSON representation. | json_encode(object()). |
Convert it to a supported JSON scalar or container. | LclValidationError |
LCL921192 |
Standard Library → JSON → Json values → Input type → Other input type → json key type | A mapping key has an unsupported JSON key type. | json_encode({(1, 2): "value"}). |
Use text, numeric, Boolean or None keys. | LclValidationError |
LCL921221 |
Standard Library → JSON → Json values → Input value → Range violation → json nonfinite | A JSON number is NaN or infinite. | json_encode(float("nan")) or json_decode("Infinity"). |
Use finite numbers, including nested values and keys. | LclValidationError |
LCL921281 |
Standard Library → JSON → Json values → Input value → Cyclic value → json cycle | A container is encountered again on its active JSON path. | Append a list to itself, then pass it to json_encode. |
Remove the cycle; repeated containers on independent paths are allowed. | LclValidationError |
LCL921491 |
Standard Library → JSON → Json values → Syntax → Other malformed source → json syntax | The JSON text is malformed. | json_decode("{"). |
Correct the syntax at the native decoder's line and column. | LclValidationError |
LCL921890 |
Standard Library → JSON → Json values → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during json_encode. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclStandardError |
LCL931890 |
Standard Library → Iterables → Collect iterable values → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during collect. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclStandardError |
LCL941111 |
Standard Library → Dates → Dates → Input type → Text type → ymd must be a string | Ymd must be a string. | Call parse_ymd with ymd=None for the required ymd must be a string. |
Supply the declared input type. | LclValidationError |
LCL941171 |
Standard Library → Dates → Dates → Input type → Date or calendar type → input must be a date | D must be a date. | Call to_ymd with d=None for the required d must be a date. |
Supply the declared input type. | LclValidationError |
LCL941221 |
Standard Library → Dates → Dates → Input value → Range violation → invalid date | Gregorian date fields are out of range. | In parse_ymd, trigger: gregorian date fields are out of range. |
Correct the invalid value or declaration. | LclValidationError |
LCL941271 |
Standard Library → Dates → Dates → Input value → Required structure → ymd must contain exactly eight ascii digits | Ymd must contain exactly eight ASCII digits. | Call parse_ymd when len(ymd) != 8 or not ymd.isascii() or (not ymd.isdigit()) is true. |
Correct the invalid value or declaration. | LclValidationError |
LCL941890 |
Standard Library → Dates → Dates → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during parse_ymd. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclStandardError |
LCL951121 |
Standard Library → Data → Data → Input type → Mapping type → data lookup input must be a mapping | Data lookup input must be a mapping. | Call lookup with mapping=None for the required data lookup input must be a mapping. |
Supply the declared input type. | LclValidationError |
LCL951122 |
Standard Library → Data → Data → Input type → Mapping type → data merge inputs must be mappings | Data merge inputs must be mappings. | Call merge with mapping=None for the required data merge inputs must be mappings. |
Supply the declared input type. | LclValidationError |
LCL951890 |
Standard Library → Data → Data → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during merge. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclStandardError |
LCL961111 |
Standard Library → Text → Text → Input type → Text type → text separator must be a string | Text separator must be a string. | Call join with separator=None for the required text separator must be a string. |
Supply the declared input type. | LclValidationError |
LCL961141 |
Standard Library → Text → Text → Input type → Numeric or boolean type → keep ends must be a boolean | Keep_ends must be a boolean. | Call lines with keep_ends=None for the required keep_ends must be a boolean. |
Supply the declared input type. | LclValidationError |
LCL961890 |
Standard Library → Text → Text → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during join. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclStandardError |
LCL971161 |
Standard Library → Recursion → Recursion → Input type → Callable type → recursive builder must be callable | Recursive builder must be callable. | Call recursive with required input=None for the required recursive builder must be callable. |
Supply the declared input type. | LclValidationError |
LCL971162 |
Standard Library → Recursion → Recursion → Input type → Callable type → recursive builder must return a callable | Recursive builder must return a callable. | Call RecursiveFunction.__call__ with required input=None for the required recursive builder must return a callable. |
Supply the declared input type. | LclValidationError |
LCL971890 |
Standard Library → Recursion → Recursion → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during RecursiveFunction. |
Inspect the native cause and the operation note. | LclErrorGroup (grouped failures) / LclStandardError / LclValidationError |
LCL991191 |
Standard Library → Namespaces → Namespaces → Input type → Other input type → stdlib assembly requires stdlibmanifest values | Stdlib assembly requires StdlibManifest values. | Call assemble_stdlib with manifest=None for the required stdlib assembly requires stdlibmanifest values. |
Supply the declared input type. | LclValidationError |
LCL991231 |
Standard Library → Namespaces → Namespaces → Input value → Duplicate value → duplicate standard library namespace | Duplicate standard-library namespace. | Repeat the named declaration or value in assemble_stdlib. |
Correct the invalid value or declaration. | LclValidationError |
LCL991391 |
Standard Library → Namespaces → Namespaces → Name or attribute resolution → Operation-specific failure → Standard namespace member absent | The standard namespace member is absent. | StdlibNamespace.__getattr__ encounters this condition. |
Supply the name or correct the lookup. | LclAttributeError |
LCL991890 |
Standard Library → Namespaces → Namespaces → External operation → Native boundary failure → No further refinement | A native operation failed after entering this boundary. | A supplied value or implementation raises during StdlibNamespace. |
Inspect the native cause and the operation note. | LclAttributeError / LclErrorGroup (grouped failures) / LclStandardError / LclValidationError |