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

Refactor erroring system #117

Merged
merged 19 commits into from
Apr 4, 2020
Merged

Refactor erroring system #117

merged 19 commits into from
Apr 4, 2020

Conversation

alejandrohdezma
Copy link
Owner

What has been done in this PR?

  • Use Try instead of Either[Throwable, A]
  • Move failure case classes out of Json companion object and extend them from Throwable.
  • Use throwable's cause system to propagate failure causes.

@alejandrohdezma alejandrohdezma merged commit 3ec96d4 into master Apr 4, 2020
@alejandrohdezma alejandrohdezma deleted the refactor-errors branch April 4, 2020 11:14
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.

None yet

1 participant