cedar_policy_core::entities::conformance

Module err

Source
Expand description

This module cotnains errors around entities not conforming to schemas

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§