package ppx_fail

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

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_fail-v0.10.0.tar.gz
md5=0f44a02532fd66de704a289d395ce42f

Description

Part of the Jane Street's PPX rewriters collection.

Published: 15 Dec 2017

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 (7)

  1. ocaml-migrate-parsetree >= "0.4" & < "2.0.0"
  2. jbuilder >= "1.0+beta12"
  3. ppx_metaquot >= "v0.10" & < "v0.11"
  4. ppx_here >= "v0.10" & < "v0.11"
  5. ppx_driver >= "v0.10" & < "v0.11"
  6. ppx_core >= "v0.10" & < "v0.11"
  7. ocaml >= "4.04.1"

Dev Dependencies

None

Used by (1)

  1. ppx_jane = "v0.10.0"

Conflicts

None