[][src]Enum rgmsh::GmshError

pub enum GmshError {
    Initialization,
    Execution,
    CInterface,
    ModelMutation,
    ModelLookup,
    ModelBadInput,
    ModelParallelMeshQuery,
    UnknownOption,
    UnknownError,
}

The error type for all Gmsh API functions.

Variants

Initialization

The Gmsh context wasn't properly initialized, or a required library component is missing. For example, calling any fltk functions without a linked FLTK library.

Execution

One of Gmsh's "shell" methods couldn't run successfully. For example, a bad file path was given to the open function.

CInterface

Errors from the Rust/C FFI interface.

ModelMutation

A function that mutates the model couldn't complete successfully. For example, addPoint couldn't succeed because of a tag collision.

ModelLookup

A data lookup getter function failed. For example, tried to work on a view that doesn't exist.

ModelBadInput

The function couldn't successfully use a required input parameter. For example, a user-specified quadrature scheme couldn't be applied to the data.

ModelParallelMeshQuery

A parallelizable mesh query function failed

UnknownOption

The given option doesn't exist in Gmsh.

UnknownError

Any unexpected error codes in the Gmsh API.

Trait Implementations

impl Display for GmshError[src]

impl Debug for GmshError[src]

impl Error for GmshError[src]

Auto Trait Implementations

impl Send for GmshError

impl Sync for GmshError

impl Unpin for GmshError

impl UnwindSafe for GmshError

impl RefUnwindSafe for GmshError

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]