package pyml

  1. Overview
  2. Docs
type t =
  1. | Exception
  2. | StandardError
  3. | ArithmeticError
  4. | LookupError
  5. | AssertionError
  6. | AttributeError
  7. | EOFError
  8. | EnvironmentError
  9. | FloatingPointError
  10. | IOError
  11. | ImportError
  12. | IndexError
  13. | KeyError
  14. | KeyboardInterrupt
  15. | MemoryError
  16. | NameError
  17. | NotImplementedError
  18. | OSError
  19. | OverflowError
  20. | ReferenceError
  21. | RuntimeError
  22. | SyntaxError
  23. | SystemExit
  24. | TypeError
  25. | ValueError
  26. | ZeroDivisionError
val clear : unit -> unit
val exception_matches : Object.t -> bool
val fetch : unit -> (Object.t * Object.t * Object.t) option
val fetched : unit -> (Object.t * Object.t * Object.t) option
val given_exception_matches : Object.t -> Object.t -> bool
val occurred : unit -> Object.t option
val print : unit -> unit
val print_ex : int -> unit
val restore : Object.t -> Object.t -> Object.t -> unit
val set_error : t -> string -> unit
val set_none : Object.t -> unit
val set_string : Object.t -> string -> unit
val set_object : Object.t -> Object.t -> unit
OCaml

Innovation. Community. Security.