cedar_policy

Module conformance_errors

Source
Expand description

Errors related to schema conformance checking for entities

Structs§

  • Encountered an action whose definition doesn’t precisely match the schema’s declaration of that action
  • Error looking up an extension function. This error can occur when checking entity conformance because that may require getting information about any extension functions referenced in entity attribute values.
  • Found an ancestor of a type that’s not allowed for that entity
  • Didn’t encounter attribute that should exist
  • The given attribute on the given entity had a different type than the schema indicated
  • Encountered an action which was not declared in the schema
  • Encountered attribute that shouldn’t exist on entities of this type
  • Encountered tag, but no tags should exist on entities of this type
  • Encountered an entity of a type which is not declared in the schema. Note that this error is only used for non-Action entity types.

Enums§