1 line
16 KiB
JSON
1 line
16 KiB
JSON
{"nodes": [{"id": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_py", "label": "errors.py", "file_type": "code", "source_file": "app/domain/errors.py", "source_location": "L1"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_domainerror", "label": "DomainError", "file_type": "code", "source_file": "app/domain/errors.py", "source_location": "L8", "_callable": true}, {"id": "exception", "label": "Exception", "file_type": "code", "source_file": "", "source_location": "", "origin_file": "/Users/senko/Work/mcma-compose/mcma-backend/app/domain/errors.py"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_domainerror_init", "label": ".__init__()", "file_type": "code", "source_file": "app/domain/errors.py", "source_location": "L16", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_notfounderror", "label": "NotFoundError", "file_type": "code", "source_file": "app/domain/errors.py", "source_location": "L21", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_alreadyexistserror", "label": "AlreadyExistsError", "file_type": "code", "source_file": "app/domain/errors.py", "source_location": "L27", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_conflicterror", "label": "ConflictError", "file_type": "code", "source_file": "app/domain/errors.py", "source_location": "L33", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_validationerror", "label": "ValidationError", "file_type": "code", "source_file": "app/domain/errors.py", "source_location": "L39", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_authenticationerror", "label": "AuthenticationError", "file_type": "code", "source_file": "app/domain/errors.py", "source_location": "L45", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_permissiondeniederror", "label": "PermissionDeniedError", "file_type": "code", "source_file": "app/domain/errors.py", "source_location": "L51", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_dependencyunavailableerror", "label": "DependencyUnavailableError", "file_type": "code", "source_file": "app/domain/errors.py", "source_location": "L57", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_storageerror", "label": "StorageError", "file_type": "code", "source_file": "app/domain/errors.py", "source_location": "L66", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_rangenotsatisfiableerror", "label": "RangeNotSatisfiableError", "file_type": "code", "source_file": "app/domain/errors.py", "source_location": "L72", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_rangenotsatisfiableerror_init", "label": ".__init__()", "file_type": "code", "source_file": "app/domain/errors.py", "source_location": "L77", "_callable": true}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_rationale_1", "label": "Domain exception hierarchy \u2014 framework-agnostic. Services raise these; the API", "file_type": "rationale", "source_file": "app/domain/errors.py", "source_location": "L1"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_rationale_9", "label": "Base for all expected, business-meaningful failures. ``code`` is a stable,", "file_type": "rationale", "source_file": "app/domain/errors.py", "source_location": "L9"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_rationale_22", "label": "Requested resource does not exist.", "file_type": "rationale", "source_file": "app/domain/errors.py", "source_location": "L22"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_rationale_28", "label": "Resource conflicts with an existing one (e.g. duplicate).", "file_type": "rationale", "source_file": "app/domain/errors.py", "source_location": "L28"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_rationale_34", "label": "Operation conflicts with current state (e.g. stale version on write).", "file_type": "rationale", "source_file": "app/domain/errors.py", "source_location": "L34"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_rationale_40", "label": "Input is well-formed but violates a business rule.", "file_type": "rationale", "source_file": "app/domain/errors.py", "source_location": "L40"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_rationale_46", "label": "Caller could not be authenticated.", "file_type": "rationale", "source_file": "app/domain/errors.py", "source_location": "L46"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_rationale_52", "label": "Caller authenticated but not authorized for this action.", "file_type": "rationale", "source_file": "app/domain/errors.py", "source_location": "L52"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_rationale_58", "label": "An external dependency (source, ML, MusicBrainz) is unavailable. Callers sh", "file_type": "rationale", "source_file": "app/domain/errors.py", "source_location": "L58"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_rationale_67", "label": "File storage operation failed.", "file_type": "rationale", "source_file": "app/domain/errors.py", "source_location": "L67"}, {"id": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_rationale_73", "label": "Requested byte range cannot be satisfied.", "file_type": "rationale", "source_file": "app/domain/errors.py", "source_location": "L73"}], "edges": [{"source": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_domainerror", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/domain/errors.py", "source_location": "L8", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_domainerror", "target": "exception", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "app/domain/errors.py", "source_location": "L8", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_domainerror", "target": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_domainerror_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "app/domain/errors.py", "source_location": "L16", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_notfounderror", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/domain/errors.py", "source_location": "L21", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_notfounderror", "target": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_domainerror", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "app/domain/errors.py", "source_location": "L21", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_alreadyexistserror", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/domain/errors.py", "source_location": "L27", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_alreadyexistserror", "target": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_domainerror", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "app/domain/errors.py", "source_location": "L27", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_conflicterror", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/domain/errors.py", "source_location": "L33", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_conflicterror", "target": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_domainerror", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "app/domain/errors.py", "source_location": "L33", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_validationerror", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/domain/errors.py", "source_location": "L39", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_validationerror", "target": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_domainerror", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "app/domain/errors.py", "source_location": "L39", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_authenticationerror", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/domain/errors.py", "source_location": "L45", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_authenticationerror", "target": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_domainerror", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "app/domain/errors.py", "source_location": "L45", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_permissiondeniederror", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/domain/errors.py", "source_location": "L51", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_permissiondeniederror", "target": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_domainerror", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "app/domain/errors.py", "source_location": "L51", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_dependencyunavailableerror", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/domain/errors.py", "source_location": "L57", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_dependencyunavailableerror", "target": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_domainerror", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "app/domain/errors.py", "source_location": "L57", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_storageerror", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/domain/errors.py", "source_location": "L66", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_storageerror", "target": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_domainerror", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "app/domain/errors.py", "source_location": "L66", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_py", "target": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_rangenotsatisfiableerror", "relation": "contains", "confidence": "EXTRACTED", "source_file": "app/domain/errors.py", "source_location": "L72", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_rangenotsatisfiableerror", "target": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_domainerror", "relation": "inherits", "confidence": "EXTRACTED", "source_file": "app/domain/errors.py", "source_location": "L72", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_rangenotsatisfiableerror", "target": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_rangenotsatisfiableerror_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "app/domain/errors.py", "source_location": "L77", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_domainerror_init", "target": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_rangenotsatisfiableerror_init", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "app/domain/errors.py", "source_location": "L17", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_rationale_1", "target": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "app/domain/errors.py", "source_location": "L1", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_rationale_9", "target": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_domainerror", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "app/domain/errors.py", "source_location": "L9", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_rationale_22", "target": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_notfounderror", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "app/domain/errors.py", "source_location": "L22", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_rationale_28", "target": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_alreadyexistserror", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "app/domain/errors.py", "source_location": "L28", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_rationale_34", "target": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_conflicterror", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "app/domain/errors.py", "source_location": "L34", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_rationale_40", "target": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_validationerror", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "app/domain/errors.py", "source_location": "L40", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_rationale_46", "target": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_authenticationerror", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "app/domain/errors.py", "source_location": "L46", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_rationale_52", "target": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_permissiondeniederror", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "app/domain/errors.py", "source_location": "L52", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_rationale_58", "target": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_dependencyunavailableerror", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "app/domain/errors.py", "source_location": "L58", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_rationale_67", "target": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_storageerror", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "app/domain/errors.py", "source_location": "L67", "weight": 1.0}, {"source": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_rationale_73", "target": "users_senko_work_mcma_compose_mcma_backend_app_domain_errors_rangenotsatisfiableerror", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "app/domain/errors.py", "source_location": "L73", "weight": 1.0}], "raw_calls": []} |