Expand description
Defines errors returned by the validator.
Structs§
- Empty
SetForbidden - The policy uses an empty set literal in a way that is forbidden
- Entity
Deref Level - Represents how many entity dereferences can be applied to a node.
- Entity
Deref Level Violation - Structure containing details about entity dereference level violation
- Function
Argument Validation - Structure containing details about a function argument validation error.
- Hierarchy
NotRespected - Structure containing details about a hierarchy not respected error
- Incompatible
Types - Structure containing details about an incompatible type error.
- Internal
Invariant Violation - Returned when an internal invariant is violated (should not happen; if this is ever returned, please file an issue)
- Invalid
Action Application - Structure containing details about an invalid action application error.
- NoTags
Allowed - Structure containing details about a no-tags-allowed error.
- NonLit
ExtConstructor - The policy passes a non-literal to an extension constructor, which is forbidden in strict validation
- Undefined
Function - Structure containing details about an undefined function error.
- Unexpected
Type - Structure containing details about an unexpected type error.
- Unrecognized
Action Id - Structure containing details about an unrecognized action id error.
- Unrecognized
Entity Type - Structure containing details about an unrecognized entity type error.
- Unsafe
Attribute Access - Structure containing details about a missing attribute error.
- Unsafe
Optional Attribute Access - Structure containing details about an unsafe optional attribute error.
- Unsafe
TagAccess - Structure containing details about an unsafe tag access error.
- Wrong
Number Arguments - Structure containing details about a wrong number of arguments error.
Enums§
- Attribute
Access - 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. - LubContext
- Text describing where the incompatible-types error was found
- LubHelp
- Hints for resolving an incompatible-types error
- Unexpected
Type Help - Help for resolving a type error
- Unrecognized
Action IdHelp - Help for resolving an unrecognized action id error
Functions§
- unrecognized_
action_ id_ help - Determine the help to offer in the presence of an unrecognized action id error.