Skip to content

[#53] [#284] [#260] Handle morley-client and lorentz errors in Morley.Nettest

Diogo Castro requested to merge diogo/#53-add-errors-to-nettest into master

Description

As of !490 (merged), morley-client can now handle a variety of exceptions (e.g. FailedWith, BadParameter). We should let Morley.Nettest users expect these exceptions as well if we want to merge the Nettest and Integrational eDSLs in #53 (closed).

Additionally, this MR also adds handling of Lorentz errors such as VoidResult r and numeric errors to Nettest.

Related issue(s)

Resolves part of #53 (closed)

Resolves part of #284

Resolves part of #260 (closed)

Checklist for your Merge Request

Related changes (conditional)

  • Tests (see short guidelines)

    • If I added new functionality, I added tests covering it.
    • If I fixed a bug, I added a regression test to prevent the bug from silently reappearing again.
  • Documentation

    • I checked whether I should update the docs and did so if necessary:
    • I updated changelog files of all affected packages released to Hackage if my changes are externally visible.

Stylistic guide (mandatory)

Edited by Diogo Castro

Merge request reports