Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usability: Transmute error message not providing enough context #143

Open
charleso opened this issue Jan 22, 2018 · 0 comments
Open

Usability: Transmute error message not providing enough context #143

charleso opened this issue Jan 22, 2018 · 0 comments

Comments

@charleso
Copy link

From the following error it's hard to determine what column is at fault

error: Cannot transmute column from actual schema to desired schema:

 actual =
    Enum
      AllowDefault
      [ Variant "none" Unit
      , Variant "some" (Nested (Binary DenyDefault Utf8))
      ]

  desired =
    Nested (Binary DenyDefault Utf8)

https://github.com/ambiata/zebra/blob/b2423ea01597c580e3fb2e0a5bcf7060ba641dcb/zebra-core/src/Zebra/Table/Striped.hs#L195

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant