errors
errors ¶
Errors raised by the script analyzer.
MissingExtraError ¶
MissingExtraError(extra: str, package: str)
Bases: ImportError
An optional extra the script analyzer needs is not installed.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
extra
|
str
|
Name of the pyproject extra that provides the dependency. |
required |
package
|
str
|
Name of the missing import. |
required |
Source code in src/crew_dcs/integrations/agents/script_analyzer/errors.py
26 27 28 29 30 31 32 33 | |
ScriptAnalysisError ¶
ScriptAnalysisError(
message: str | None = None,
exception: Exception | None = None,
entity_id: str | None = None,
entity_name: str | None = None,
function_name: str | None = None,
parent_class: str | None = None,
status: int | None = None,
domo_instance: str | None = None,
is_warning: bool = False,
additional_context: dict[str, Any] | None = None,
)
Bases: DomoError
The script analyzer graph failed while analysing a script.
Raised with the original exception chained as __cause__, so a failure in any
graph node reaches the caller instead of being replaced by a different result.
Source code in src/crew_dcs/base/exceptions.py
76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 | |