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

[object/error] Add ability to rescue errors and introduce begin/rescue/end #142

Merged
merged 9 commits into from
Nov 1, 2022

Conversation

Flipez
Copy link
Owner

@Flipez Flipez commented Oct 31, 2022

This fixes #93

Signed-off-by: Flipez <code@brauser.io>
Signed-off-by: Flipez <code@brauser.io>
@Flipez Flipez added the enhancement New feature or request label Oct 31, 2022
@vercel
Copy link

vercel bot commented Oct 31, 2022

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

Name Status Preview Updated
rocket-lang ✅ Ready (Inspect) Visit Preview Nov 1, 2022 at 10:36AM (UTC)
rocket-lang-play ✅ Ready (Inspect) Visit Preview Nov 1, 2022 at 10:36AM (UTC)

@codecov
Copy link

codecov bot commented Oct 31, 2022

Codecov Report

Merging #142 (542d378) into main (40839b4) will increase coverage by 0.25%.
The diff coverage is 93.84%.

@@            Coverage Diff             @@
##             main     #142      +/-   ##
==========================================
+ Coverage   87.23%   87.48%   +0.25%     
==========================================
  Files         102      105       +3     
  Lines        3635     3692      +57     
==========================================
+ Hits         3171     3230      +59     
  Misses        396      396              
+ Partials       68       66       -2     
Impacted Files Coverage Δ
ast/rescue.go 0.00% <0.00%> (ø)
token/token.go 88.00% <ø> (ø)
ast/begin.go 88.88% <88.88%> (ø)
ast/block.go 92.85% <100.00%> (+5.35%) ⬆️
evaluator/block.go 100.00% <100.00%> (ø)
evaluator/evaluator.go 81.71% <100.00%> (+3.67%) ⬆️
object/error.go 100.00% <100.00%> (ø)
parser/begin.go 100.00% <100.00%> (ø)
parser/block.go 100.00% <100.00%> (ø)
parser/parser.go 100.00% <100.00%> (ø)
... and 1 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Signed-off-by: Flipez <code@brauser.io>
Signed-off-by: Flipez <code@brauser.io>
Signed-off-by: Flipez <code@brauser.io>
Signed-off-by: Flipez <code@brauser.io>
Signed-off-by: Flipez <code@brauser.io>
Signed-off-by: Flipez <code@brauser.io>
@Flipez Flipez changed the title [object/error] Add ability to rescue errors [object/error] Add ability to rescue errors and introduce begin/rescue/end Nov 1, 2022
@Flipez Flipez added this to the 0.20.0 milestone Nov 1, 2022
@Flipez Flipez marked this pull request as ready for review November 1, 2022 01:39
Signed-off-by: Flipez <code@brauser.io>
@Flipez Flipez deleted the add-rescue branch November 1, 2022 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add ability to rescue errors
1 participant