Skip to content

Commit 58da229

Browse files
committed
chore(dep-resolution): add dependency resolution errors to core error type
1 parent 7b034f6 commit 58da229

7 files changed

+2854
-2785
lines changed

semgrep_output_v1.atd

+3
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,7 @@ type error_type
511511
* *)
512512
| PatternParseError0 <json name="Pattern parse error">
513513
| IncompatibleRule0 <json name="Incompatible rule">
514+
| DependencyResolutionError of resolution_error
514515
] <ocaml repr="classic">
515516

516517
type incompatible_rule
@@ -1840,6 +1841,7 @@ type manifest = {
18401841
}
18411842

18421843
type resolution_error
1844+
<ocaml attr="deriving show">
18431845
<python decorator="dataclass(frozen=True)"> = [
18441846
| UnsupportedManifest
18451847
| MissingRequirement of string
@@ -1848,6 +1850,7 @@ type resolution_error
18481850
]
18491851

18501852
type resolution_cmd_failed
1853+
<ocaml attr="deriving show">
18511854
<python decorator="dataclass(frozen=True)"> = {
18521855
command: string;
18531856
message: string;

semgrep_output_v1.jsonschema

+10-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

semgrep_output_v1.proto

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

semgrep_output_v1.py

+162-142
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)