Functions in spec or anon_fun can raise Arg.Bad with an error
message to reject invalid arguments.
Exception raised when a continuation is continued or discontinued more than once.
Exception raised by integer division and remainder operations when their second argument is zero.
Exception raised by input functions to signal that the end of file has been reached.
Errors in dynamic linking are reported by raising the Error
exception with a description of the error.
Exception raised by library functions to signal that they are undefined on the given arguments.
Finally_raised exn is raised by protect ~finally work when
finally raises an exception exn.
This exception is raised when a sequence returned by Seq.once
(or a suffix of it) is queried more than once.
Exception raised by library functions to signal that the given arguments do not make sense.
Exception raised by the garbage collector when there is insufficient memory to complete the computation.
When the input can not be read according to the format string
specification, formatted input functions typically raise exception
Scan_failure.
Exception raised by the bytecode interpreter when the evaluation stack reaches its maximal size.
A special case of Sys_error raised when no I/O is possible on a non-blocking I/O channel.
Exception raised by the input/output functions to report an operating system error.
Raised when forcing a suspension concurrently from multiple fibers, systhreads or domains, or when the suspension tries to force itself recursively.
Exception raised when an ill-founded recursive module definition is evaluated.