Skip to content

refactor(enhancement): streamline error function names and fields #1062#1097

Merged
jeevatkm merged 1 commit intov3from
res-error-naming-aspect
Jan 1, 2026
Merged

refactor(enhancement): streamline error function names and fields #1062#1097
jeevatkm merged 1 commit intov3from
res-error-naming-aspect

Conversation

@jeevatkm
Copy link
Member

@jeevatkm jeevatkm commented Jan 1, 2026

The following method names are streamlined; next is documentation work:

Client.SetError 	-> Client.SetResultError
Request.SetError 	-> Request.SetResultError
Response.IsSuccess 	-> Response.IsStatusSuccess
Response.IsError 	-> Response.IsStatusFailure
Response.Err 		-> Response.CascadeError

close #1062

@jeevatkm jeevatkm added this to the v3.0.0 Milestone milestone Jan 1, 2026
@jeevatkm jeevatkm self-assigned this Jan 1, 2026
@codecov
Copy link

codecov bot commented Jan 1, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.85%. Comparing base (f1c6d10) to head (bcae758).
⚠️ Report is 1 commits behind head on v3.

Additional details and impacted files
@@           Coverage Diff           @@
##               v3    #1097   +/-   ##
=======================================
  Coverage   99.85%   99.85%           
=======================================
  Files          18       18           
  Lines        3535     3535           
=======================================
  Hits         3530     3530           
  Misses          3        3           
  Partials        2        2           
Flag Coverage Δ
unittests 99.85% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jeevatkm jeevatkm merged commit 6f6856f into v3 Jan 1, 2026
7 checks passed
@jeevatkm jeevatkm deleted the res-error-naming-aspect branch January 1, 2026 17:42
jeevatkm added a commit that referenced this pull request Jan 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

Add a dedicated guide on error handling (err vs res.IsError()) and streamline few field naming aspects

1 participant