package ocaml-canvas

  1. Overview
  2. Docs

OCaml-Canvas' exceptions

exception Not_initialized

Raised when calling a function before Backend.init is called

exception File_not_found of string

Raised by PNG import/export functions to indicate the given file could not be found. The string argument recalls the file in question.

exception Read_png_failed of string

Raised by PNG import functions to indicate failure. The string argument might provide futher information explaining the failure.

exception Write_png_failed of string

Raised by PNG export functions to indicate failure. The string argument might provide futher information explaining the failure.

OCaml

Innovation. Community. Security.