Enum clingo::ErrorType
[−]
[src]
pub enum ErrorType { Success, Runtime, Logic, BadAlloc, Unknown, }
Enumeration of clingo error types for ClingoError
.
Variants
Success
Successful API calls
Runtime
Errors only detectable at runtime like invalid input
Logic
Wrong usage of the clingo API
BadAlloc
Memory could not be allocated
Unknown
Errors unrelated to clingo
Trait Implementations
impl Debug for ErrorType
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for ErrorType
[src]
impl Clone for ErrorType
[src]
fn clone(&self) -> ErrorType
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more