Module cedar_policy_core::parser::err

source ·
Expand description

error handling utilities

Structs§

  • Defines configurable rules for how tokens in an UnrecognizedToken or UnrecognizedEof error should be displayed to users.
  • Multiple parse errors.
  • Errors in the CST -> AST transform, mostly well-formedness issues.
  • Error from the CST parser.

Enums§

  • Error when is appears in the policy scope in a position where it is forbidden.
  • For errors during parsing
  • Errors in the top-level parse literal entrypoint
  • The 3 kinds of literals that can be in a policy scope
  • Error surrounding EntityUIds/Template slots in policy scopes
  • Details about a particular kind of ToASTError.

Functions§