cedar_policy_validator

Module validation_errors

Source
Expand description

Defines errors returned by the validator.

Structs§

Enums§

  • Contains more detailed information about an attribute access when it occurs on an entity type expression or on the context variable. Track a Vec of attributes rather than a single attribute so that on principal.foo.bar can report that the record attribute foo of an entity type (e.g., User) needs attributes bar instead of giving up when the immediate target of the attribute access is not a entity.
  • Text describing where the incompatible-types error was found
  • Hints for resolving an incompatible-types error
  • Help for resolving a type error
  • Help for resolving an unrecognized action id error

Functions§