Enum ocaml::Error[][src]

pub enum Error {
    OutOfBounds,
    NotCallable,
    Exception(Value),
    NotDoubleArray,
    InvalidCString,
}

Error returned by ocaml-rs functions

Variants

An index is out of bounds

A value cannot be called using callback functions

An OCaml exception

Array is not a double array

C String is invalid

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for Error

impl Sync for Error