package electrod

  1. Overview
  2. Docs
Formal analysis for the Electrod formal pivot language

Install

Dune Dependency

Authors

Maintainers

Sources

electrod-0.5.tbz
sha256=4f84384e51d9145d8c3af99b10512d2a872cc80d08e374deff50f1253bd75dd4
sha512=d7116b82e5879d91bc9e80aef1cecf46a7f5fa967b5881dfc29d30a5da0c71b802f8901dbc99f861534e020f3af254ef19b507088410f5dabcb753c430d2bb82

doc/electrod.libelectrod/Libelectrod/Msg/index.html

Module Libelectrod.MsgSource

Contains all error messages and error handling stuff.

Sourcemodule Location = Location

An abbreviation.

Setting up the logging machinery

Sourcemodule LoggingSetup : sig ... end
Sourceval debug : 'a Logs.log
Sourceval info : 'a Logs.log
Sourceval warn : 'a Logs.log
Sourceval err : ('a, 'b) Logs.msgf -> 'b
Sourceval style : Logs.level -> Fmt.style
Sourcemodule Extract : sig ... end

Messages (errors, warnings...)

Sourceval code : int -> string

code num takes a message number and prints is as an error code (4 (zero-padded) digits). DO NOT EVER --EVER!-- CHANGE THE NUMBER OF A MESSAGE (AT WORST, DELETE THE MESSAGE AND LET THE NUMBER BE LOST). ONLY ADD MESSAGES AT THE END OF THE FOLLOWING MESSAGING MODULES.

Errors that stop the program

Sourcemodule Fatal : sig ... end

Warnings (the program does not fail)

Sourcemodule Warn : sig ... end
OCaml

Innovation. Community. Security.