Enum ocaml::CamlError [−][src]
pub enum CamlError { NotFound, Failure(&'static str), InvalidArgument(&'static str), OutOfMemory, StackOverflow, SysError(Value), EndOfFile, ZeroDivide, ArrayBoundError, SysBlockedIo, Exception(Value), WithArg(Value, Value), }
Errors that are translated directly into OCaml exceptions
Variants
Not_found
Failure(&'static str)
Failure
InvalidArgument(&'static str)
Invalid_argument
Out_of_memory
Stack_overflow
SysError(Value)
Sys_error
End_of_file
Zero_divide
Array bound error
Sys_blocked_io
Exception(Value)
A pre-allocated OCaml exception
An exception type and argument