Struct cedar_policy_core::ast::EntityAttrEvaluationError
source · pub struct EntityAttrEvaluationError {
pub uid: EntityUID,
pub attr: SmolStr,
pub err: EvaluationError,
}
Expand description
Error type for evaluation errors when evaluating an entity attribute.
Contains some extra contextual information and the underlying
EvaluationError
.
Fields§
§uid: EntityUID
UID of the entity where the error was encountered
attr: SmolStr
Attribute of the entity where the error was encountered
err: EvaluationError
Underlying evaluation error
Trait Implementations§
source§impl Debug for EntityAttrEvaluationError
impl Debug for EntityAttrEvaluationError
source§impl Display for EntityAttrEvaluationError
impl Display for EntityAttrEvaluationError
source§impl Error for EntityAttrEvaluationError
impl Error for EntityAttrEvaluationError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<EntityAttrEvaluationError> for JsonDeserializationError
impl From<EntityAttrEvaluationError> for JsonDeserializationError
source§fn from(source: EntityAttrEvaluationError) -> Self
fn from(source: EntityAttrEvaluationError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for EntityAttrEvaluationError
impl Send for EntityAttrEvaluationError
impl Sync for EntityAttrEvaluationError
impl Unpin for EntityAttrEvaluationError
impl UnwindSafe for EntityAttrEvaluationError
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more