package ppx_fail

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

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_fail-v0.13.0.tar.gz
md5=f1672279f65862a6806fc7ad5aff755d

Description

Part of the Jane Street's PPX rewriters collection.

Published: 20 Nov 2019

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.9.0"
  2. dune >= "1.5.1"
  3. ppx_here >= "v0.13" & < "v0.14"
  4. base >= "v0.13" & < "v0.14"
  5. ocaml >= "4.04.2"

Dev Dependencies

None

Used by (1)

  1. ppx_jane = "v0.13.0"

Conflicts

None