Skip to content

Commit

Permalink
chore(dep-resolution): add dependency resolution errors to core error…
Browse files Browse the repository at this point in the history
… type
  • Loading branch information
bkettle committed Oct 25, 2024
1 parent 7b034f6 commit 58da229
Show file tree
Hide file tree
Showing 7 changed files with 2,854 additions and 2,785 deletions.
3 changes: 3 additions & 0 deletions semgrep_output_v1.atd
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,7 @@ type error_type
* *)
| PatternParseError0 <json name="Pattern parse error">
| IncompatibleRule0 <json name="Incompatible rule">
| DependencyResolutionError of resolution_error
] <ocaml repr="classic">

type incompatible_rule
Expand Down Expand Up @@ -1840,6 +1841,7 @@ type manifest = {
}

type resolution_error
<ocaml attr="deriving show">
<python decorator="dataclass(frozen=True)"> = [
| UnsupportedManifest
| MissingRequirement of string
Expand All @@ -1848,6 +1850,7 @@ type resolution_error
]

type resolution_cmd_failed
<ocaml attr="deriving show">
<python decorator="dataclass(frozen=True)"> = {
command: string;
message: string;
Expand Down
11 changes: 10 additions & 1 deletion semgrep_output_v1.jsonschema

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion semgrep_output_v1.proto

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

304 changes: 162 additions & 142 deletions semgrep_output_v1.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 58da229

Please sign in to comment.