digitalbazaar / digitalbazaar/webkms-client

Rename `_handleClientError` to `_throwClientError`.

Open
#60 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
6
Forks
4
PR merge metrics
No merged PRs in 30d

Description

See: https://github.com/digitalbazaar/webkms-client/pull/59#discussion_r1670762617

@mattcollier I presume this throws... maybe a comment. The helper would be better named _throwClientError, the lack of a clear understanding makes the lack of a return concerning.

Code readability improvement.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by searching the repository for _handleClientError and review the naming discussion in pull request #59. Rename the helper to _throwClientError and update its references; done when no old-name references remain.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api
Issue type
Refactor
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.