Enum ocaml::Error [−][src]
pub enum Error { OutOfBounds, NotCallable, Exception(Value), NotDoubleArray, InvalidCString, }
Error returned by ocaml-rs
functions
Variants
OutOfBounds
An index is out of bounds
NotCallable
A value cannot be called using callback functions
Exception(Value)
An OCaml exception
NotDoubleArray
Array is not a double array
InvalidCString
C String is invalid