cedar-policy / cedar

Implementation of the Cedar Policy Language
https://www.cedarpolicy.com
Apache License 2.0
889 stars 80 forks source link

Move validator `err.rs` to `schema/err.rs` #1287

Closed john-h-kastner-aws closed 3 weeks ago

john-h-kastner-aws commented 4 weeks ago

This only contains schema parsing errors, so it makes sense to move it out of the crate root.

The moved module contains pub use'ed error types, but I'm fairly sure moving them around internally doesn't change the public interface at all. Someone should keep me honest here.

Description of changes

Issue #, if available

Checklist for requesting a review

The change in this PR is (choose one, and delete the other options):

I confirm that this PR (choose one, and delete the other options):

I confirm that cedar-spec (choose one, and delete the other options):

I confirm that docs.cedarpolicy.com (choose one, and delete the other options):