pub enum EntitiesError {
Deserialization(JsonDeserializationError),
Validation(EntityValidationError),
AncestorValidation(AncestorValidationError),
TCComputation(TcError<EntityUID>),
Duplicate(Duplicate),
PartialValueToValue(PartialValueToValueError),
}Available on crate feature
tpe only.Expand description
Error thrown when constructing crate::tpe::entities::PartialEntities
Variants§
Deserialization(JsonDeserializationError)
Error thrown when validating concrete components
Validation(EntityValidationError)
Error thrown when validating a crate::tpe::entities::PartialEntity
AncestorValidation(AncestorValidationError)
Error thrown when validating the ancestors of a crate::tpe::entities::PartialEntity
TCComputation(TcError<EntityUID>)
Error thrown when computing TC
Duplicate(Duplicate)
Error constructing the Entities collection due to encountering two different entities with the same Entity UID
PartialValueToValue(PartialValueToValueError)
Errors encountered when converting PartialValue to Value
Trait Implementations§
Source§impl Debug for EntitiesError
impl Debug for EntitiesError
Source§impl Display for EntitiesError
impl Display for EntitiesError
Source§impl Error for EntitiesError
impl Error for EntitiesError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<AncestorValidationError> for EntitiesError
impl From<AncestorValidationError> for EntitiesError
Source§fn from(source: AncestorValidationError) -> EntitiesError
fn from(source: AncestorValidationError) -> EntitiesError
Converts to this type from the input type.
Source§impl From<Duplicate> for EntitiesError
impl From<Duplicate> for EntitiesError
Source§fn from(source: Duplicate) -> EntitiesError
fn from(source: Duplicate) -> EntitiesError
Converts to this type from the input type.
Source§impl From<EntitiesError> for PartialEntityError
impl From<EntitiesError> for PartialEntityError
Source§fn from(source: EntitiesError) -> Self
fn from(source: EntitiesError) -> Self
Converts to this type from the input type.
Source§impl From<EntitiesError> for PermissionQueryError
impl From<EntitiesError> for PermissionQueryError
Source§fn from(source: EntitiesError) -> Self
fn from(source: EntitiesError) -> Self
Converts to this type from the input type.
Source§impl From<EntityValidationError> for EntitiesError
impl From<EntityValidationError> for EntitiesError
Source§fn from(source: EntityValidationError) -> EntitiesError
fn from(source: EntityValidationError) -> EntitiesError
Converts to this type from the input type.
Source§impl From<JsonDeserializationError> for EntitiesError
impl From<JsonDeserializationError> for EntitiesError
Source§fn from(source: JsonDeserializationError) -> EntitiesError
fn from(source: JsonDeserializationError) -> EntitiesError
Converts to this type from the input type.
Source§impl From<PartialValueToValueError> for EntitiesError
impl From<PartialValueToValueError> for EntitiesError
Source§fn from(source: PartialValueToValueError) -> EntitiesError
fn from(source: PartialValueToValueError) -> EntitiesError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EntitiesError
impl !RefUnwindSafe for EntitiesError
impl Send for EntitiesError
impl Sync for EntitiesError
impl Unpin for EntitiesError
impl !UnwindSafe for EntitiesError
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more