Enum polar_core::error::RuntimeError
source · pub enum RuntimeError {
Show 13 variants
ArithmeticError {
term: Term,
},
Unsupported {
msg: String,
term: Term,
},
TypeError {
msg: String,
stack_trace: String,
term: Term,
},
StackOverflow {
msg: String,
},
QueryTimeout {
elapsed: u64,
timeout: u64,
},
Application {
msg: String,
stack_trace: String,
term: Option<Term>,
},
IncompatibleBindings {
msg: String,
},
UnhandledPartial {
var: Symbol,
term: Term,
},
DataFilteringFieldMissing {
var_type: String,
field: String,
},
DataFilteringUnsupportedOp {
operation: Operation,
},
InvalidRegistration {
sym: Symbol,
msg: String,
},
MultipleLoadError,
QueryForUndefinedRule {
name: String,
},
}
Variants§
ArithmeticError
Unsupported
TypeError
Fields
StackOverflow
QueryTimeout
Application
Fields
IncompatibleBindings
UnhandledPartial
DataFilteringFieldMissing
DataFilteringUnsupportedOp
InvalidRegistration
MultipleLoadError
QueryForUndefinedRule
The user queried for an undefined rule. This is the runtime analogue of
ValidationError::UndefinedRuleCall
.
Trait Implementations§
source§impl AsRef<str> for RuntimeError
impl AsRef<str> for RuntimeError
source§impl Clone for RuntimeError
impl Clone for RuntimeError
source§fn clone(&self) -> RuntimeError
fn clone(&self) -> RuntimeError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for RuntimeError
impl Debug for RuntimeError
source§impl Display for RuntimeError
impl Display for RuntimeError
source§impl From<RuntimeError> for PolarError
impl From<RuntimeError> for PolarError
source§fn from(err: RuntimeError) -> Self
fn from(err: RuntimeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for RuntimeError
impl Send for RuntimeError
impl Sync for RuntimeError
impl Unpin for RuntimeError
impl UnwindSafe for RuntimeError
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