package ppx_fail

  1. Overview
  2. Docs
Add location to calls to failwiths

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_fail-v0.14.0.tar.gz
sha256=3b585fbbf181cf36ca07a501c6fa3467250c3c5e7bac046370735563685fdf07
md5=8ac8d34542eebc2587cdb7e57a2d8350

Description

Part of the Jane Street's PPX rewriters collection.

Published: 31 May 2020

README

ppx_fail

Syntax extension that makes [failwiths] always include a position.

Rewrites failwiths into failwiths ~here:[%here]. This is useful to have a position for an exception even if the backtrace got lost somehow.

Dependencies (5)

  1. ppxlib >= "0.11.0"
  2. dune >= "2.0.0"
  3. ppx_here >= "v0.14" & < "v0.15"
  4. base >= "v0.14" & < "v0.15"
  5. ocaml >= "4.04.2"

Dev Dependencies

None

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.