Skip to content

fix: add missing error classes to types#3316

Merged
mcollina merged 5 commits intonodejs:mainfrom
maxbeatty:add-missing-errors-types
Jun 12, 2024
Merged

fix: add missing error classes to types#3316
mcollina merged 5 commits intonodejs:mainfrom
maxbeatty:add-missing-errors-types

Conversation

@maxbeatty
Copy link
Copy Markdown
Contributor

@maxbeatty maxbeatty commented Jun 7, 2024

This relates to...

  • types: RequestRetryError and SecureProxyConnectionError are exported but not included in the types
  • fix: RequestRetryError inconsistently set data

Changes

Exports new types for existing Error classes. When trying to type the classes, I saw that data was set inconsistently so matched the class implementation.

Features

N/A

Bug Fixes

RequestRetryError now consistently sets data

Breaking Changes and Deprecations

N/A

Status

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants