Skip to content

Arbitrary instances for exceptions? #41

@kindaro

Description

@kindaro

Arbitrary instances for exceptions are trivial but tedious to define. Someone has already done the work in text-show package tests, why do we not publish this so that it is reusable?

It would be useful when checking code that manages exception handling. IO code may be mocked in Catch monad and tested for exception resilience. I am actually doing this somewhere even now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions