Enum ocaml::Error [] [src]

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

Error returned by ocaml-rs functions

Variants

An index is out of bounds

A value cannot be called using callback functions

An OCaml exception

Trait Implementations

impl Debug for Error
[src]

[src]

Formats the value using the given formatter.