tg-rs / carapax

A Telegram Bot API framework
MIT License
115 stars 12 forks source link

Update HandlerResult #77

Closed rossnomann closed 2 years ago

rossnomann commented 2 years ago

Now it contains only two variants: Ok and Err(HandlerError) If you need Stop, use Predicate instead.

codecov-commenter commented 2 years ago

Codecov Report

Merging #77 (a4a1710) into master (fb9b567) will decrease coverage by 0.15%. The diff coverage is 51.85%.

:exclamation: Current head a4a1710 differs from pull request most recent head 67ca9ae. Consider uploading reports for the commit 67ca9ae to get more accurate results Impacted file tree graph

@@            Coverage Diff             @@
##           master      #77      +/-   ##
==========================================
- Coverage   78.83%   78.68%   -0.16%     
==========================================
  Files          21       21              
  Lines         567      563       -4     
==========================================
- Hits          447      443       -4     
  Misses        120      120              
Impacted Files Coverage Δ
src/core/predicate/base.rs 71.42% <ø> (ø)
src/dialogue/mod.rs 61.44% <10.00%> (ø)
src/core/chain.rs 89.47% <50.00%> (ø)
src/core/error.rs 54.83% <50.00%> (ø)
src/access/predicate.rs 100.00% <100.00%> (ø)
src/core/app.rs 81.81% <100.00%> (ø)
src/core/handler.rs 100.00% <100.00%> (ø)
src/core/predicate/result.rs 100.00% <100.00%> (ø)
src/ratelimit/predicate/direct.rs 100.00% <100.00%> (ø)
src/ratelimit/predicate/keyed.rs 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update fb9b567...67ca9ae. Read the comment docs.