Skip to content
This repository has been archived by the owner on May 19, 2023. It is now read-only.

reject promise with Error instance #2

Merged
merged 3 commits into from
Mar 12, 2023
Merged

reject promise with Error instance #2

merged 3 commits into from
Mar 12, 2023

Conversation

sertonix
Copy link

This changes the value promises are rejected with from a number to an Error instance. This fixes errors when handling errors and expecting an Error instance.

@sertonix sertonix changed the title reject promise with errors reject promise with Error instance Nov 20, 2022
@confused-Techie
Copy link
Member

I've gone ahead and cherry-picked the newer commit containing testing actions to these PR. So we can ensure everything runs as expected.

Copy link
Member

@confused-Techie confused-Techie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright all CI is passing here. So lets go ahead and merge this one.

Thanks again @sertonix

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants