Index of exceptions


B
Bad_value [Ocamlua]
Thrown when an error occurs converting a Lua value into an Ocaml representation to return to the calling code (note that the opposite can never happen, all values allowed by the Ocamlua.lua_value type can be represented as Lua values, up to the practical limits of the system).

I
Internal_error [Ocamlua]
Thrown when more "exotic" errors are thrown by the Lua runtime.

N
No_such_file [Ocamlua]
Thrown by Ocamlua.load_file when the Lua cannot load code from the given file.
No_such_method [Ocamlua]
Raised by Ocamlua.call if the method to call does not exist.

R
Runtime_error [Ocamlua]
Raised if a runtime error occurs during the execution of Lua code.

S
Syntax_error [Ocamlua]
Raised by Ocamlua.eval_string and Ocamlua.load_file if the Lua source code being loaded has a syntax error.