Expand description
Defines errors returned by the validator.
Structs§
- The policy uses an empty set literal in a way that is forbidden
- Represents how many entity dereferences can be applied to a node.
- Structure containing details about entity dereference level violation
- Structure containing details about a function argument validation error.
- Structure containing details about a hierarchy not respected error
- Structure containing details about an incompatible type error.
- Returned when an internal invariant is violated (should not happen; if this is ever returned, please file an issue)
- Structure containing details about an invalid action application error.
- Structure containing details about a no-tags-allowed error.
- The policy passes a non-literal to an extension constructor, which is forbidden in strict validation
- Structure containing details about an undefined function error.
- Structure containing details about an unexpected type error.
- Structure containing details about an unrecognized action id error.
- Structure containing details about an unrecognized entity type error.
- Structure containing details about a missing attribute error.
- Structure containing details about an unsafe optional attribute error.
- Structure containing details about an unsafe tag access error.
- Structure containing details about a wrong number of arguments error.
Enums§
- Contains more detailed information about an attribute access when it occurs on an entity type expression or on the
context
variable. Track aVec
of attributes rather than a single attribute so that onprincipal.foo.bar
can report that the record attributefoo
of an entity type (e.g.,User
) needs attributesbar
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§
- Determine the help to offer in the presence of an unrecognized action id error.