package frama-c
Install
Dune Dependency
Authors
-
MMichele Alberti
-
TThibaud Antignac
-
GGergö Barany
-
PPatrick Baudin
-
NNicolas Bellec
-
TThibaut Benjamin
-
AAllan Blanchard
-
LLionel Blatter
-
FFrançois Bobot
-
RRichard Bonichon
-
VVincent Botbol
-
QQuentin Bouillaguet
-
DDavid Bühler
-
ZZakaria Chihani
-
LLoïc Correnson
-
JJulien Crétin
-
PPascal Cuoq
-
ZZaynah Dargaye
-
BBasile Desloges
-
JJean-Christophe Filliâtre
-
PPhilippe Herrmann
-
MMaxime Jacquemin
-
FFlorent Kirchner
-
AAlexander Kogtenkov
-
RRemi Lazarini
-
TTristan Le Gall
-
JJean-Christophe Léchenet
-
MMatthieu Lemerre
-
DDara Ly
-
DDavid Maison
-
CClaude Marché
-
AAndré Maroneze
-
TThibault Martin
-
FFonenantsoa Maurica
-
MMelody Méaulle
-
BBenjamin Monate
-
YYannick Moy
-
PPierre Nigron
-
AAnne Pacalet
-
VValentin Perrelle
-
GGuillaume Petiot
-
DDario Pinto
-
VVirgile Prevosto
-
AArmand Puccetti
-
FFélix Ridoux
-
VVirgile Robles
-
JJan Rochel
-
MMuriel Roger
-
JJulien Signoles
-
NNicolas Stouls
-
KKostyantyn Vorobyov
-
BBoris Yakobowski
Maintainers
Sources
sha256=d2fbb3b8d0ff83945872e9e6fa258e934a706360e698dae3b4d5f971addf7493
doc/frama-c-e-acsl.core/E_ACSL/Error/index.html
Module E_ACSL.Error
Handling errors.
module type S = sig ... end
The Error
module implements Error.S
with no phase.
include S
type 'a result = ('a, exn) Result.t
Represent either a result of type 'a
or an error with an exception.
exception Typing_error of Options.category option * string
Typing error where the first element is the phase where the error occured and the second element is the error message.
exception Not_yet of Options.category option * string
"Not yet supported" error where the first element is the phase where the error occured and the second element is the error message.
exception Not_memoized of Options.category option
"Not memoized" error with the phase where the error occured.
Print the "not yet supported" message without raising an exception.
Run the closure with the given argument and handle potential errors. Return the provide argument in case of errors.
Run the closure with the given argument and handle potential errors. Return the additional argument in case of errors.
val retrieve_preprocessing :
string ->
('a -> 'b result) ->
'a ->
(Format.formatter -> 'a -> unit) ->
'b
Retrieve the result of a preprocessing phase, which possibly failed. The string
argument and the formatter are used to display a message in case the preprocessing phase did not compute the required result.
val pp_result :
(Format.formatter -> 'a -> unit) ->
Format.formatter ->
'a result ->
unit
pp_result pp
where pp
is a formatter for 'a
returns a formatter for 'a result
.
val map : ('a -> 'b) -> 'a result -> 'b