Enum clingo_sys::clingo_error [] [src]

#[repr(u32)]
pub enum clingo_error { clingo_error_success, clingo_error_runtime, clingo_error_logic, clingo_error_bad_alloc, clingo_error_unknown, }

Enumeration of error codes.

Note: Errors can only be recovered from if explicitly mentioned; most functions do not provide strong exception guarantees. This means that in case of errors associated objects cannot be used further. If such an object has a free function, this function can and should still be called.

Variants

Trait Implementations

impl Debug for clingo_error
[src]

Formats the value using the given formatter.

impl Copy for clingo_error
[src]

impl Clone for clingo_error
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for clingo_error
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for clingo_error
[src]

impl Hash for clingo_error
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more