[−][src]Enum zia::ZiaError
All the expected ways a Zia command could be invalid.
Variants
When specifying a reduction rule that already exists.
When specifying a definition that already exists.
When refactoring a symbol that hasn't been used.
When removing a definition from a concept with no definition.
When defining an expanded expression.
When the command would complete a cycle of chained reduction rules.
When syntax tree cannot be expanded further
When syntax tree cannot be reduced further
When a concept is contained within the concept that it reduces to.
When a required symbol is missing from a command
Fields of MissingSymbol
symbol: &'static str
When a concept is contained within the normal form of its definition.
When a command contains a pair of parentheses with no syntax inside.
When the interpreter cannot determine the tree structure of an expression.
When trying to refactor a used symbol as another used symbol or expression.
When trying to define the composition of a concrete concept.
When trying to specify a reduction rule for a concrete concept.
When trying to specify a reduction rule for a concept whose components reduce to something else.
When symbol is expected to be used by a concept but isn't.
Trait Implementations
impl Clone for ZiaError
[src]
impl Debug for ZiaError
[src]
impl Display for ZiaError
[src]
impl Error for ZiaError where
Self: Debug + Display,
[src]
Self: Debug + Display,
fn description(&self) -> &str
[src]
fn cause(&self) -> Option<&dyn Error>
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
impl ErrorCompat for ZiaError
[src]
impl PartialEq<ZiaError> for ZiaError
[src]
impl StructuralPartialEq for ZiaError
[src]
Auto Trait Implementations
impl RefUnwindSafe for ZiaError
impl Send for ZiaError
impl Sync for ZiaError
impl Unpin for ZiaError
impl UnwindSafe for ZiaError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsErrorSource for T where
T: 'static + Error,
[src]
T: 'static + Error,
fn as_error_source(&self) -> &(dyn Error + 'static)
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> SendSyncUnwindSafe for T where
T: Send + Sync + UnwindSafe + ?Sized,
[src]
T: Send + Sync + UnwindSafe + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,