Skip to content

Conversation

@collinstevens
Copy link

@collinstevens collinstevens commented Jul 3, 2025

Type

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update

Description

The basic example for Effect error handling has been updated to use Data.TaggedError instead of a manual class definition with a tag property.

Effect should be showing the preferred way to write code when providing examples.

Before,
before

After,
after

@vercel
Copy link

vercel bot commented Jul 3, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
website-landing ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 3, 2025 8:51am
website-proxy ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 3, 2025 8:51am

@vercel
Copy link

vercel bot commented Jul 3, 2025

@collinstevens is attempting to deploy a commit to the Effect Team on Vercel.

A member of the Team first needs to authorize it.

@collinstevens collinstevens force-pushed the use-data-tagged-error-in-basic-example branch from a3948df to ee3f791 Compare July 3, 2025 08:52
@vercel
Copy link

vercel bot commented Jul 3, 2025

Deployment failed with the following error:

The provided GitHub repository does not contain the requested branch or commit reference. Please ensure the repository is not empty.

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

Successfully merging this pull request may close these issues.

1 participant