One slot in a batch response's results array. Callers switch on is_ok() — on true, read unwrap(); on false, read error().
results
is_ok()
true
unwrap()
false
error()
Readonly
The per-item error if !is_ok(); undefined otherwise.
!is_ok()
undefined
true when Cedar evaluated this item (Allow or Deny); false when it failed to build.
The Cedar decision if is_ok(); throws otherwise.
One slot in a batch response's
resultsarray. Callers switch onis_ok()— ontrue, readunwrap(); onfalse, readerror().