Skip to content

Build AI methods with your coding agent, then run them anywhere: as an MCP for chatbots, as a webapp for people, or via API for your software.

19.6 KB
Raw Blame
# The raises, in pipelex/ and api/pipelex_api/, of a class outside the PipelexError root that are right as they are.
#
# Each line is `path | function | exception | disposition`, one per raise site, so a function raising the same class
# twice is listed twice. tests/unit/pipelex/errors/test_foreign_raises.py fails on a foreign raise this file does not
# list and on a listed one that is gone. The dispositions:
#
# - invariant: a builtin raised only on a bug of ours, which a boundary reports as runtime.unexpected;
# - validator: a builtin raised in a helper only pydantic validators call, which pydantic wraps;
# - private: a private class caught in the module that defines it, which no reader sees;
# - carrier: a class a library or protocol expects by type (the import system's ImportError, httpx's transport
#   errors, the standard's method tree refusal its callers translate, the Jinja2 SecurityError the template sandbox
#   stops a render with) that the scan cannot recognise by its name alone;
# - tooling: developer or release code outside the exempt directories, which only the development CLI calls;
# - caught: a builtin raised in a module that must import nothing of Pipelex, which its every caller catches by type.
#
# A new raise belongs here only when it is one of these; otherwise raise a coded PipelexError subclass.
api/pipelex_api/openapi_schema.py | _apply_schema_renames | ValueError | invariant
api/pipelex_api/schemas/models.py | _ensure_mthds_file_within_bytes_limit | ValueError | validator
pipelex/base_exceptions.py | PipelexError.__init_subclass__ | TypeError | invariant
pipelex/base_exceptions.py | PipelexError.with_error_code | ValueError | invariant
pipelex/cli/commands/init/ui/setup_path_ui.py | _option_number | ValueError | invariant
pipelex/codegen/stamp.py | _reject_json_constant | ValueError | carrier
pipelex/cogt/content_generation/content_generator.py | ContentGenerator.make_render_page_views | ValueError | invariant
pipelex/cogt/content_generation/content_generator_protocol.py | update_job_metadata.wrapper | RuntimeError | invariant
pipelex/cogt/content_generation/content_generator_protocol.py | update_job_metadata.wrapper | TypeError | invariant
pipelex/cogt/content_generation/doc_gen_generate.py | RunRenderResources.load | RuntimeError | invariant
pipelex/cogt/content_generation/schema_to_model_factory.py | SchemaToModelFactory._exec_and_extract_class | ValueError | invariant
pipelex/cogt/doc_gen/document_composition.py | DocumentComposition._validate_url_base | ValueError | validator
pipelex/cogt/doc_gen/document_composition.py | DocumentComposition._validate_url_base | ValueError | validator
pipelex/cogt/doc_gen/method_file_urls.py | RelativeUrlBase._tree_path_of_joined | MethodTreeRefusedError | carrier
pipelex/cogt/doc_gen/method_file_urls.py | RelativeUrlBase._tree_path_of_joined | MethodTreeRefusedError | carrier
pipelex/cogt/img_gen/img_gen_job_components.py | parse_img_gen_size | ValueError | validator
pipelex/cogt/llm/llm_worker_abstract.py | LLMWorkerAbstract._start_otel_span_llm | NotImplementedError | invariant
pipelex/cogt/models/model_manager.py | ModelManager.get_inference_model | RuntimeError | invariant
pipelex/cogt/models/model_manager.py | ModelManager.get_model_deck | RuntimeError | invariant
pipelex/cogt/models/model_manager.py | ModelManager.routing_profile | RuntimeError | invariant
pipelex/config.py | get_config | TypeError | invariant
pipelex/core/concepts/concept_representation_generator.py | ConceptRepresentationGenerator._generate_basemodel_representation | ValueError | invariant
pipelex/core/concepts/concept_representation_generator.py | ConceptRepresentationGenerator.generate_class_representation | ValueError | invariant
pipelex/core/concepts/concept_structure_blueprint.py | ConceptStructureBlueprint._raise_type_mismatch_error | ValueError | validator
pipelex/core/method_trees/file_references.py | _join_lexically | MethodTreeRefusedError | carrier
pipelex/core/method_trees/file_references.py | _join_lexically | MethodTreeRefusedError | carrier
pipelex/core/method_trees/file_references.py | _join_lexically | MethodTreeRefusedError | carrier
pipelex/core/method_trees/file_references.py | _join_lexically | MethodTreeRefusedError | carrier
pipelex/core/method_trees/file_references.py | resolve_bundle_file_reference | MethodTreeRefusedError | carrier
pipelex/core/method_trees/method_file_store.py | LocalMethodFileStore.hold_tree | ValueError | invariant
pipelex/core/method_trees/tree_bundle.py | TreeBundle.location | ValueError | invariant
pipelex/core/method_trees/tree_python.py | TreeModuleGuard.find_spec | TreeModuleExcludedError | carrier
pipelex/core/pipes/inputs/input_stuff_specs.py | InputStuffSpecs.get_single_stuff_spec | ValueError | invariant
pipelex/core/stuffs/iso_temporal.py | parse_iso_date | InputFreeValueError | validator
pipelex/core/stuffs/iso_temporal.py | parse_iso_date | InputFreeValueError | validator
pipelex/core/stuffs/iso_temporal.py | parse_iso_time | InputFreeValueError | validator
pipelex/core/stuffs/iso_temporal.py | parse_iso_time | InputFreeValueError | validator
pipelex/core/stuffs/iso_temporal.py | parse_iso_time | InputFreeValueError | validator
pipelex/core/stuffs/non_null_any.py | _refuse_none | PydanticCustomError | validator
pipelex/core/stuffs/stuff_artefact.py | _get_content_html | AttributeError | carrier
pipelex/core/stuffs/stuff_artefact.py | _get_template_value | KeyError | carrier
pipelex/errors/error_class_discovery.py | _force_load_all_error_modules | RuntimeError | invariant
pipelex/errors/registry/registry_document.py | _check_enum_values | ValueError | validator
pipelex/errors/registry/registry_document.py | _check_enum_values | ValueError | validator
pipelex/errors/registry/registry_document.py | _check_enum_values | ValueError | validator
pipelex/errors/registry/registry_document.py | _check_enum_values | ValueError | validator
pipelex/errors/retired_error_pages.py | _split_block | RetiredErrorPagesError | tooling
pipelex/errors/retired_error_pages.py | _split_block | RetiredErrorPagesError | tooling
pipelex/errors/retired_error_pages.py | retired_page_names | RetiredErrorPagesError | tooling
pipelex/interpreter_hub.py | InterpreterHub.get_instance | RuntimeError | invariant
pipelex/interpreter_hub.py | InterpreterHub.get_library | RuntimeError | invariant
pipelex/interpreter_hub.py | InterpreterHub.get_library_manager | RuntimeError | invariant
pipelex/interpreter_hub.py | InterpreterHub.get_pipe_func_executor_registry | RuntimeError | invariant
pipelex/interpreter_hub.py | InterpreterHub.get_pipe_func_package_offer_registry | RuntimeError | invariant
pipelex/interpreter_hub.py | InterpreterHub.get_required_concept_library | RuntimeError | invariant
pipelex/interpreter_hub.py | InterpreterHub.get_required_domain_library | RuntimeError | invariant
pipelex/interpreter_hub.py | InterpreterHub.get_required_pipe_func_executor | RuntimeError | invariant
pipelex/interpreter_hub.py | InterpreterHub.get_required_pipe_library | RuntimeError | invariant
pipelex/interpreter_hub.py | InterpreterHub.get_required_pipe_router | RuntimeError | invariant
pipelex/interpreter_hub.py | InterpreterHub.get_required_pipe_run | RuntimeError | invariant
pipelex/interpreter_hub.py | InterpreterHub.get_required_pipeline_manager | RuntimeError | invariant
pipelex/interpreter_hub.py | get_current_library | RuntimeError | invariant
pipelex/kernel/pipelex_kernel.py | PipelexKernel._resolve_pipeline_run_id | ValueError | invariant
pipelex/kernel/pipelex_kernel.py | PipelexKernel._resolve_pipeline_run_id | ValueError | invariant
pipelex/kit/single_file_agent_rules.py | build_merged_rules | ValueError | tooling
pipelex/language/mthds_factory.py | MthdsFactory.make_table_obj_for_concept | TypeError | invariant
pipelex/language/mthds_factory.py | MthdsFactory.make_table_obj_for_concept | TypeError | invariant
pipelex/language/mthds_factory.py | MthdsFactory.make_table_obj_for_concept | TypeError | invariant
pipelex/language/mthds_schema_generator.py | _split_levels_scale | RuntimeError | tooling
pipelex/migration/surfaces.py | _reject_duplicates | ValueError | validator
pipelex/migration/surfaces.py | _reject_duplicates_per_directory | ValueError | validator
pipelex/pipe_controllers/batch/pipe_batch_blueprint.py | PipeBatchBlueprint.validate_inputs | ValueError | validator
pipelex/pipe_controllers/batch/pipe_batch_blueprint.py | PipeBatchBlueprint.validate_inputs | ValueError | validator
pipelex/pipe_controllers/condition/pipe_condition_blueprint.py | PipeConditionBlueprint.validate_inputs | ValueError | validator
pipelex/pipe_controllers/condition/pipe_condition_blueprint.py | PipeConditionBlueprint.validate_inputs | ValueError | validator
pipelex/pipe_controllers/parallel/pipe_parallel_blueprint.py | PipeParallelBlueprint.validate_output | ValueError | validator
pipelex/pipe_controllers/parallel/pipe_parallel_blueprint.py | PipeParallelBlueprint.validate_output | ValueError | validator
pipelex/pipe_machinery/pipe_blueprint.py | PipeBlueprint.generic_validate_inputs | ValueError | validator
pipelex/pipe_machinery/pipe_blueprint.py | PipeBlueprint.generic_validate_inputs | ValueError | validator
pipelex/pipe_machinery/pipe_blueprint.py | PipeBlueprint.generic_validate_inputs | ValueError | validator
pipelex/pipe_machinery/pipe_blueprint.py | PipeBlueprint.generic_validate_output | ValueError | validator
pipelex/pipe_machinery/pipe_blueprint.py | PipeBlueprint.generic_validate_output | ValueError | validator
pipelex/pipe_machinery/pipe_blueprint.py | normalize_typeless_signature_section | ValueError | validator
pipelex/pipe_machinery/pipe_blueprint.py | normalize_typeless_signature_section | ValueError | validator
pipelex/pipe_operators/compose/pipe_compose_blueprint.py | PipeComposeBlueprint._validate_template_inputs | ValueError | validator
pipelex/pipe_operators/compose/pipe_compose_blueprint.py | PipeComposeBlueprint._validate_template_inputs | ValueError | validator
pipelex/pipe_operators/compose/pipe_compose_blueprint.py | PipeComposeBlueprint.validate_output | ValueError | validator
pipelex/pipe_operators/doc_gen/pipe_doc_gen_blueprint.py | PipeDocGenBlueprint._check_roots_are_inputs | ValueError | validator
pipelex/pipe_operators/doc_gen/pipe_doc_gen_blueprint.py | PipeDocGenBlueprint.validate_output | ValueError | validator
pipelex/pipe_operators/doc_gen/pipe_doc_gen_blueprint.py | template_required_roots | ValueError | validator
pipelex/pipe_operators/doc_gen/pipe_doc_gen_blueprint.py | template_required_roots | ValueError | validator
pipelex/pipe_operators/extract/pipe_extract_blueprint.py | PipeExtractBlueprint.validate_inputs | ValueError | validator
pipelex/pipe_operators/extract/pipe_extract_blueprint.py | PipeExtractBlueprint.validate_inputs | ValueError | validator
pipelex/pipe_operators/extract/pipe_extract_blueprint.py | PipeExtractBlueprint.validate_inputs | ValueError | validator
pipelex/pipe_operators/extract/pipe_extract_blueprint.py | PipeExtractBlueprint.validate_output | ValueError | validator
pipelex/pipe_operators/func/function_name.py | split_function_name | ValueError | invariant
pipelex/pipe_operators/img_gen/pipe_img_gen_blueprint.py | PipeImgGenBlueprint._read_variable_paths | ValueError | validator
pipelex/pipe_operators/img_gen/pipe_img_gen_blueprint.py | PipeImgGenBlueprint._read_variable_paths | ValueError | validator
pipelex/pipe_operators/judge/pipe_judge_blueprint.py | PipeJudgeBlueprint.validate_output | ValueError | validator
pipelex/pipe_operators/judge/pipe_judge_blueprint.py | PipeJudgeBlueprint.validate_output | ValueError | validator
pipelex/pipe_operators/judge/pipe_judge_blueprint.py | _template_variable_paths | ValueError | validator
pipelex/pipe_operators/judge/pipe_judge_blueprint.py | _template_variable_paths | ValueError | validator
pipelex/pipe_operators/judge/pipe_judge_blueprint.py | _validate_levels | ValueError | validator
pipelex/pipe_operators/judge/pipe_judge_blueprint.py | _validate_levels | ValueError | validator
pipelex/pipe_operators/judge/pipe_judge_blueprint.py | _validate_levels | ValueError | validator
pipelex/pipe_operators/judge/pipe_judge_blueprint.py | _validate_levels | ValueError | validator
pipelex/pipe_operators/judge/pipe_judge_blueprint.py | _validate_levels | ValueError | validator
pipelex/pipe_operators/judge/pipe_judge_blueprint.py | _validate_levels | ValueError | validator
pipelex/pipe_operators/judge/pipe_judge_blueprint.py | _validate_question_kind | ValueError | validator
pipelex/pipe_operators/judge/pipe_judge_blueprint.py | _validate_question_kind | ValueError | validator
pipelex/pipe_operators/judge/pipe_judge_blueprint.py | _validate_question_kind | ValueError | validator
pipelex/pipe_operators/judge/pipe_judge_blueprint.py | _validate_question_kind | ValueError | validator
pipelex/pipe_operators/judge/pipe_judge_blueprint.py | _validate_question_kind | ValueError | validator
pipelex/pipe_operators/llm/pipe_llm_blueprint.py | PipeLLMBlueprint.validate_inputs | ValueError | validator
pipelex/pipe_operators/llm/pipe_llm_blueprint.py | PipeLLMBlueprint.validate_inputs | ValueError | validator
pipelex/pipe_operators/llm/pipe_llm_blueprint.py | PipeLLMBlueprint.validate_inputs | ValueError | validator
pipelex/pipe_operators/llm/pipe_llm_blueprint.py | PipeLLMBlueprint.validate_inputs | ValueError | validator
pipelex/pipe_operators/search/pipe_search_blueprint.py | PipeSearchBlueprint.validate_inputs | ValueError | validator
pipelex/pipe_operators/search/pipe_search_blueprint.py | PipeSearchBlueprint.validate_inputs | ValueError | validator
pipelex/pipe_operators/structure/pipe_structure_blueprint.py | PipeStructureBlueprint.validate_inputs | ValueError | validator
pipelex/pipe_operators/structure/pipe_structure_blueprint.py | PipeStructureBlueprint.validate_inputs | ValueError | validator
pipelex/pipe_operators/structure/pipe_structure_blueprint.py | PipeStructureBlueprint.validate_output | ValueError | validator
pipelex/providers/anthropic/anthropic_factory.py | AnthropicFactory._make_document_block_param | TypeError | invariant
pipelex/providers/anthropic/anthropic_factory.py | AnthropicFactory._make_image_block_param | TypeError | invariant
pipelex/providers/azure_rest/azure_img_gen_worker.py | AzureImgGenWorker.__init__ | NotImplementedError | invariant
pipelex/providers/linkup/linkup_extract_worker.py | LinkupExtractWorker._extract_pages | ValueError | invariant
pipelex/providers/mistral/mistral_factory.py | MistralFactory.make_mistral_document_url | TypeError | invariant
pipelex/providers/mistral/mistral_factory.py | MistralFactory.make_mistral_document_url_chunk_from_uri | TypeError | invariant
pipelex/providers/mistral/mistral_factory.py | MistralFactory.make_mistral_image_url | TypeError | invariant
pipelex/providers/mistral/mistral_factory.py | MistralFactory.make_mistral_image_url_chunk_from_uri | TypeError | invariant
pipelex/providers/mistral/mistral_factory.py | MistralFactory.make_simple_messages_openai_typed | TypeError | invariant
pipelex/providers/openai/openai_completions_factory.py | OpenAICompletionsFactory.make_simple_messages | TypeError | invariant
pipelex/providers/openai/openai_completions_factory.py | OpenAICompletionsFactory.make_simple_messages | TypeError | invariant
pipelex/providers/openai/openai_responses_factory.py | OpenAIResponsesFactory.make_input_items | TypeError | invariant
pipelex/providers/openai/openai_responses_factory.py | OpenAIResponsesFactory.make_input_items | TypeError | invariant
pipelex/providers/portkey/portkey_completions_factory.py | PortkeyCompletionsFactory.make_simple_messages | TypeError | invariant
pipelex/providers/portkey/portkey_completions_factory.py | PortkeyCompletionsFactory.make_simple_messages | TypeError | invariant
pipelex/runtime_boot.py | RuntimeBoot.get_instance | RuntimeError | invariant
pipelex/runtime_hub.py | RuntimeHub.get_bundle_validator_registry | RuntimeError | invariant
pipelex/runtime_hub.py | RuntimeHub.get_inference_backend_registry | RuntimeError | invariant
pipelex/runtime_hub.py | RuntimeHub.get_instance | RuntimeError | invariant
pipelex/runtime_hub.py | RuntimeHub.get_model_lister_registry | RuntimeError | invariant
pipelex/runtime_hub.py | RuntimeHub.get_orchestrator_registry | RuntimeError | invariant
pipelex/runtime_hub.py | RuntimeHub.get_required_config | RuntimeError | invariant
pipelex/runtime_hub.py | RuntimeHub.get_required_content_generator | RuntimeError | invariant
pipelex/runtime_hub.py | RuntimeHub.get_required_models_manager | RuntimeError | invariant
pipelex/runtime_hub.py | RuntimeHub.get_required_secrets_provider | RuntimeError | invariant
pipelex/runtime_hub.py | RuntimeHub.get_sdk_client_manager | RuntimeError | invariant
pipelex/runtime_hub.py | RuntimeHub.get_secrets_provider_registry | RuntimeError | invariant
pipelex/runtime_hub.py | RuntimeHub.get_storage_provider | RuntimeError | invariant
pipelex/runtime_hub.py | RuntimeHub.get_storage_provider_registry | RuntimeError | invariant
pipelex/runtime_hub.py | RuntimeHub.get_telemetry_manager | RuntimeError | invariant
pipelex/runtime_hub.py | RuntimeHub.get_template_file_stage | RuntimeError | invariant
pipelex/runtime_hub.py | RuntimeHub.set_console_print_target | ValueError | invariant
pipelex/suggested_fix.py | _refuse_wildcard_key | ValueError | validator
pipelex/system/telemetry/otel_constants.py | make_otel_gen_ai_output_type | ValueError | invariant
pipelex/system/usage_stats/usage_stats_core.py | UsageStatsState.replace_installation_id | OSError | caught
pipelex/tools/jinja2/jinja2_render_budget.py | RenderBudget._refuse | RenderBudgetExceededError | carrier
pipelex/tools/jinja2/jinja2_render_budget.py | refuse_int_result | RenderBudgetExceededError | carrier
pipelex/tools/jinja2/jinja2_render_charging.py | charged_filter | TypeError | invariant
pipelex/tools/jinja2/jinja2_render_charging.py | charged_test | TypeError | invariant
pipelex/tools/jinja2/jinja2_render_charging.py | render_budget_of | TypeError | invariant
pipelex/tools/jinja2/jinja2_render_rewrite.py | rewrite_for_render_budget | TypeError | invariant
pipelex/tools/jinja2/jinja2_sandbox.py | PipelexTemplateEnvironment._generate | RuntimeError | invariant
pipelex/tools/jinja2/jinja2_template_loader.py | TemplateLoader.load | ValueError | invariant
pipelex/tools/jinja2/jinja2_template_registry.py | TemplateRegistry.get | KeyError | invariant
pipelex/tools/jinja2/template_surface.py | TemplateSurface.__post_init__ | ValueError | invariant
pipelex/tools/log/console_layouts.py | PipeRunLayout.derived_values | TypeError | invariant
pipelex/tools/log/console_layouts.py | PipeRunLayout.derived_values | ValueError | invariant
pipelex/tools/log/console_layouts.py | _format_token_count | TypeError | invariant
pipelex/tools/log/console_layouts.py | format_cost | TypeError | invariant
pipelex/tools/log/console_layouts.py | format_duration | TypeError | invariant
pipelex/tools/log/console_layouts.py | format_duration | ValueError | invariant
pipelex/tools/log/gcp_log_sink.py | GcpLogSink.make_handler | RuntimeError | invariant
pipelex/tools/log/log.py | Log.configure | RuntimeError | invariant
pipelex/tools/log/log.py | Log.install_sink | RuntimeError | invariant
pipelex/tools/log/log.py | Log.install_sink | RuntimeError | invariant
pipelex/tools/log/log_dispatch.py | LogDispatch.configure | RuntimeError | invariant
pipelex/tools/log/log_sink.py | stream_for_target | ValueError | invariant
pipelex/tools/log/otlp_log_sink.py | OtlpLogSink.make_handler | RuntimeError | invariant
pipelex/tools/misc/async_utils.py | gather_bounded | ValueError | invariant
pipelex/tools/misc/file_utils.py | mirror_dir | FileNotFoundError | tooling
pipelex/tools/misc/file_utils.py | mirror_dir | NotADirectoryError | tooling
pipelex/tools/misc/file_utils.py | reject_bare_str_or_path | TypeError | invariant
pipelex/tools/network/ssrf_guard.py | resolve_to_allowed_ips | ConnectTimeout | carrier
pipelex/tools/typing/pydantic_utils.py | clean_model_to_dict | TypeError | invariant