Skip to content

Commit

Permalink
feat: Better diagnostic error messages for policy issues (#1960)
Browse files Browse the repository at this point in the history
Produce better error messages for parsing and validation problems found
in policy files. Includes accurate line and column numbers and
surrounding context where possible.

---------

Signed-off-by: Charith Ellawala <charith@cerbos.dev>
Signed-off-by: Charith Ellawala <charithe@users.noreply.github.com>
Co-authored-by: Andrew Haines <andrew@haines.org.nz>
  • Loading branch information
charithe and haines committed Jan 26, 2024
1 parent 8db9898 commit 42e8442
Show file tree
Hide file tree
Showing 72 changed files with 4,109 additions and 1,138 deletions.
86 changes: 86 additions & 0 deletions api/genpb/cerbos/private/v1/hashpb_helpers.pb.go

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

21 changes: 21 additions & 0 deletions api/genpb/cerbos/response/v1/hashpb_helpers.pb.go

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

0 comments on commit 42e8442

Please sign in to comment.