package mopsa

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Utils_core.ExceptionsSource

Common exceptions and warnings

Warnings

=-=-=-=-=-=-

Sourceval warn : ('a, Stdlib.Format.formatter, unit, unit) Stdlib.format4 -> 'a
Sourceval warn_at : Location.range -> ('a, Stdlib.Format.formatter, unit, unit) Stdlib.format4 -> 'a

Panic exceptions

=-=-=-=-=-=-=-=-=-=-

Sourceval pp : ('a, Stdlib.Format.formatter, unit, unit) Stdlib.format4 -> 'a
Sourceval pp_at : Location.range -> ('a, Stdlib.Format.formatter, unit, unit) Stdlib.format4 -> 'a
Sourceexception Panic of string * string

OCaml line of code

Sourceexception PanicAtLocation of Location.range * string * string

OCaml line of code

OCaml line of code

Sourceexception PanicAtFrame of Location.range * Callstack.callstack * string * string

OCaml line of code

OCaml line of code

Sourceval panic : ?loc:string -> ('a, Stdlib.Format.formatter, unit, 'b) Stdlib.format4 -> 'a

Raise a panic exception using a formatted string

Sourceval panic_at : ?loc:string -> Location.range -> ('a, Stdlib.Format.formatter, unit, 'b) Stdlib.format4 -> 'a
Sourceval panic_at_frame : ?loc:string -> Location.range -> Callstack.callstack -> ('a, Stdlib.Format.formatter, unit, 'b) Stdlib.format4 -> 'a

=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Sourceexception SyntaxError of Location.range * string
Sourceexception SyntaxErrorList of (Location.range * string) list
Sourceexception UnnamedSyntaxError of Location.range
Sourceexception UnnamedSyntaxErrorList of Location.range list
Sourceval syntax_error : Location.range -> ('a, Stdlib.Format.formatter, unit, 'b) Stdlib.format4 -> 'a
Sourceval syntax_errors : (Location.range * string) list -> 'a
Sourceval unnamed_syntax_error : Location.range -> 'a
Sourceval unnamed_syntax_errors : Location.range list -> 'a
OCaml

Innovation. Community. Security.