pub enum FunctionCallError {
NullPointer,
FunctionNotFound,
InvalidFunction,
ArgumentCount,
ArgumentType,
Processing,
Unknown(u32),
}Expand description
Why calling a CLIPS function failed.
Variants§
NullPointer
A required argument was NULL; a bug in this crate.
FunctionNotFound
No function, deffunction, or generic of that name exists.
InvalidFunction
The name resolves to something that cannot be called this way.
ArgumentCount
The number of arguments does not match the function’s signature.
ArgumentType
An argument’s type is not allowed at that position.
Processing
The function raised an error while running.
Unknown(u32)
A code this crate does not recognise, reported rather than silently treated as success. Seeing one means CLIPS gained a code since 6.4.2 or the declaration is wrong.
Trait Implementations§
Source§impl Clone for FunctionCallError
impl Clone for FunctionCallError
impl Copy for FunctionCallError
Source§impl Debug for FunctionCallError
impl Debug for FunctionCallError
impl Eq for FunctionCallError
Source§impl From<u32> for FunctionCallError
impl From<u32> for FunctionCallError
Source§impl PartialEq for FunctionCallError
impl PartialEq for FunctionCallError
impl StructuralPartialEq for FunctionCallError
Auto Trait Implementations§
impl Freeze for FunctionCallError
impl RefUnwindSafe for FunctionCallError
impl Send for FunctionCallError
impl Sync for FunctionCallError
impl Unpin for FunctionCallError
impl UnsafeUnpin for FunctionCallError
impl UnwindSafe for FunctionCallError
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