Commit Graph
5 Commits
Author SHA1 Message Date
Marc RousavyandGitHub b069fb69a8 fix: Fix Promise rejections not having a message by using std::exception_ptr to avoid C++ object slicing (#369)
* fix: Use `std::exception_ptr` to preserve message

* fix: Catch exception

* fix: Fix `JSIConverter`

* Update AssertPromiseState.hpp

* Ok kinda fix?

* ugh

* fix again

* Update JSIConverter+Promise.hpp

* chore: Rename `_result` to `_state`

* feat: Allow comparing message

* fix: Fix `RuntimeError.description`

* feat: Test all of those error messages as well
2024-11-22 21:14:00 +01:00
Marc Rousavy 950ff037fc feat: Use efficient ThreadPool to speed up Promise creation 2024-08-05 16:32:55 +02:00
Marc Rousavy 9d69ba04ab chore: Run clang format 2024-07-31 17:39:56 +02:00
Marc Rousavy 6b15467af8 Some final declarations 2024-07-18 01:30:33 +02:00
Marc Rousavy f6853f7055 feat: Log runtime thread ID 2024-07-18 00:20:56 +02:00