Enum reql::errors::RuntimeError
[−]
[src]
pub enum RuntimeError { QueryLogic(String), NonExistence(String), ResourceLimit(String), User(String), Internal(String), Timeout(String), Availability(AvailabilityError), Permission(String), }
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)
Timeout(String)
Availability(AvailabilityError)
Permission(String)
Trait Implementations
impl Debug for RuntimeError
[src]
impl Display for RuntimeError
[src]
impl Error for RuntimeError
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
The lower-level cause of this error, if any. Read more
impl From<AvailabilityError> for RuntimeError
[src]
fn from(err: AvailabilityError) -> RuntimeError
Performs the conversion.