OCaml Easy · Lesson 4

Exceptions

raise, try ... with, defining exceptions, Not_found, and Fun.protect cleanup.

Lessons · OCaml Easy · Lesson 4 of 10

Exceptions

raise, try ... with, defining exceptions, Not_found, and Fun.protect cleanup.

Illustration for OCaml
raise, try ... with, defining exceptions, Not_found, and Fun.protect cleanup.