diff options
author | 2023-08-21 21:11:27 -0700 | |
---|---|---|
committer | 2023-08-21 21:11:27 -0700 | |
commit | bca1bcf29c3bf925299b89dc75523c65549ca1fb (patch) | |
tree | 05cebf98510c9d9599504b611be954e8fa0d25a7 /src/bun.js/bindings/ZigGeneratedClasses.h | |
parent | 9027484ae1a9eaf9769d79828db48de66450a3fc (diff) | |
download | bun-bca1bcf29c3bf925299b89dc75523c65549ca1fb.tar.gz bun-bca1bcf29c3bf925299b89dc75523c65549ca1fb.tar.zst bun-bca1bcf29c3bf925299b89dc75523c65549ca1fb.zip |
import errors have `code` set to `ERR_MODULE_NOT_FOUND` and `require` errors have `code` set to `MODULE_NOT_FOUND` (#4244)
* ResolveMessage
* Fix it
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
Diffstat (limited to 'src/bun.js/bindings/ZigGeneratedClasses.h')
-rw-r--r-- | src/bun.js/bindings/ZigGeneratedClasses.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bun.js/bindings/ZigGeneratedClasses.h b/src/bun.js/bindings/ZigGeneratedClasses.h index 6ed7eb5de..b8b694068 100644 --- a/src/bun.js/bindings/ZigGeneratedClasses.h +++ b/src/bun.js/bindings/ZigGeneratedClasses.h @@ -1854,6 +1854,7 @@ public: template<typename Visitor> void visitAdditionalChildren(Visitor&); DECLARE_VISIT_OUTPUT_CONSTRAINTS; + mutable JSC::WriteBarrier<JSC::Unknown> m_code; mutable JSC::WriteBarrier<JSC::Unknown> m_importKind; mutable JSC::WriteBarrier<JSC::Unknown> m_level; mutable JSC::WriteBarrier<JSC::Unknown> m_message; |