pub enum Runtime {
QueryLogic(String),
NonExistence(String),
ResourceLimit(String),
User(String),
Internal(String),
Availability(Availability),
Permission(String),
}
Expand description
The parent class of all runtime errors
All errors on the server unrelated to compilation. Programs may use this to catch any runtime error, but the server will always return a more specific error class.
Variants§
QueryLogic(String)
The query contains a logical impossibility, such as adding a number to a string.
NonExistence(String)
ResourceLimit(String)
User(String)
Internal(String)
Availability(Availability)
Permission(String)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Runtime
impl Send for Runtime
impl Sync for Runtime
impl Unpin for Runtime
impl UnwindSafe for Runtime
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