Skip to content

Refactor attempt result handling and typings#4

Merged
shgysk8zer0 merged 1 commit intomasterfrom
patch/types
Jul 22, 2025
Merged

Refactor attempt result handling and typings#4
shgysk8zer0 merged 1 commit intomasterfrom
patch/types

Conversation

@shgysk8zer0
Copy link
Copy Markdown
Member

Improves type safety and clarity for AttemptResult, AttemptSuccess, and AttemptFailure. Adds getAttemptStatus, SUCCEEDED, and FAILED exports, refines error/value extraction, and updates tests for stricter error handling and status checks. Enhances documentation and overloads for fail().

Description and issue

Please add relevant sections (Added, removed, changed, fixed) to CHANGELOG.md

List of significant changes made

Improves type safety and clarity for AttemptResult, AttemptSuccess, and AttemptFailure. Adds getAttemptStatus, SUCCEEDED, and FAILED exports, refines error/value extraction, and updates tests for stricter error handling and status checks. Enhances documentation and overloads for fail().
@shgysk8zer0 shgysk8zer0 added documentation Improvements or additions to documentation enhancement New feature or request labels Jul 22, 2025
@shgysk8zer0 shgysk8zer0 self-assigned this Jul 22, 2025
@shgysk8zer0 shgysk8zer0 enabled auto-merge July 22, 2025 17:53
@shgysk8zer0 shgysk8zer0 merged commit b2248f2 into master Jul 22, 2025
4 checks passed
@shgysk8zer0 shgysk8zer0 deleted the patch/types branch July 22, 2025 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant