Skip to content

Provide more transparent errors for generation failure #17

Closed

Description

@eborden

Currently Insert returns Maybe a. Nothing is coded for constraint failure, which triggers retry. If retry fails we throw a generation error. This error is opaque and does not provide any information for the user. We should be returning an Either _ a, so we can either pass the resulting exception or generate useful information for the user. This could be as simple as Either Text a or Either SomeException a.

Activity

  1. self-assigned this
    on Jul 10, 2017
  2. moved this to To do in Open Sourceon Jun 24, 2023
  3. added 3 commits that reference this issue on Jun 17, 2025
    0553054
    90f1621
    527fa90
  4. moved this from 👜 To do to ✅ Done in Open Sourceon Jun 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions