Skip to content

feat: use a custom error when items are not files#123

Open
rolandjitsu wants to merge 1 commit intomainfrom
feat/custom-err
Open

feat: use a custom error when items are not files#123
rolandjitsu wants to merge 1 commit intomainfrom
feat/custom-err

Conversation

@rolandjitsu
Copy link
Copy Markdown
Collaborator

What kind of change does this PR introduce?

  • Bug Fix
  • Feature
  • Refactoring
  • Style
  • Build
  • Chore
  • Documentation
  • CI

Did you add tests for your changes?

  • Yes, my code is well tested
  • Not relevant

If relevant, did you update the documentation?

  • Yes, I've updated the documentation
  • Not relevant

Summary

Use a custom error for the not a file case so that users can inspect the item if they wish to.

Does this PR introduce a breaking change?

Probably not.

Other information

@rolandjitsu rolandjitsu requested a review from jonkoops November 27, 2024 11:12
@rolandjitsu
Copy link
Copy Markdown
Collaborator Author

Hmm, interesting. Locally the tests are passing on node v20 😆 I'll have a look at it later this week,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant