package General

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = exn
include Concepts.Identifiable.S0 with type t := t
include Traits.Equatable.S0 with type t := t
include Traits.Equatable.Basic.S0 with type t := t
val equal : t -> t -> bool
val different : t -> t -> bool
module O : Traits.Equatable.Operators.S0 with type t := t
include Traits.Representable.S0 with type t := t
val repr : t -> string
include Traits.Displayable.S0 with type t := t
val to_string : t -> string
val register_printer : (t -> string option) -> unit
val record_backtraces : bool -> unit
val recording_backtraces : unit -> bool
val most_recent_backtrace : unit -> CallStack.t option
exception MatchFailure of string * int * int
exception AssertFailure of string * int * int
exception InvalidArgument of string
exception Failure of string
exception NotFound
exception OutOfMemory

Raised when the system could not allocate memory

exception StackOverflow
exception SysError of string
exception EndOfFile
exception DivisionByZero
exception SysBlockedIO
exception UndefinedRecursiveModule of string * int * int
exception Exit
val raise : t -> 'a
val raise_without_backtrace : t -> 'a
val invalid_argument : ('a, unit, string, string, string, 'b) CamlinternalFormatBasics.format6 -> 'a
val failure : ('a, unit, string, string, string, 'b) CamlinternalFormatBasics.format6 -> 'a
val failure_if : bool -> ('a, unit, string, string, string, unit) CamlinternalFormatBasics.format6 -> 'a
val failure_unless : bool -> ('a, unit, string, string, string, unit) CamlinternalFormatBasics.format6 -> 'a
val name : exn -> string
val or_none : 'a lazy_t -> 'a option