We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The undici error types provided here do not correspond to all errors declared here.
A couple of examples:
ConnectTimeoutError
errors
SocketTimeoutError
if (error instanceof errors.SocketTimeoutError)
right-hand side of 'instanceof' is not an object
All core error types are defined.
macOS 13.1, node v18.5.0
The text was updated successfully, but these errors were encountered:
Would you like to send in a PR to add them in?
Sorry, something went wrong.
Sure @KhafraDev ... I'll send one your way asap
Successfully merging a pull request may close this issue.
Bug Description
The undici error types provided here do not correspond to all errors declared here.
Reproducible By
A couple of examples:
ConnectTimeoutError
is not available in theerrors
type definitionsSocketTimeoutError
in a type check likeright-hand side of 'instanceof' is not an object
error.Expected Behavior
All core error types are defined.
Environment
macOS 13.1, node v18.5.0
The text was updated successfully, but these errors were encountered: