package electrod

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

Install

Dune Dependency

Authors

Maintainers

Sources

electrod-0.6.2.tbz
sha256=83716b3ec066cbdd807354cec436d93c47f6987e60383094918cc3642107df2b
sha512=469f3c68dd44a95ce89a6b80d73e9938e36342cd99afb7cd77b4612e597f02e03c50bcd99ba33eb4fd21d6836796c04eacb6bf0da415f03f622f5b0a9969c1f9

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.