Files
bun.sh/src
Claude Bot b6e1db6acd Fix bindgen to properly inherit from ErrorInstance for Error.isError() support
Key changes to make ResolveMessage/BuildMessage proper ErrorInstance objects:

1. **Proper inheritance**: Classes with inheritsFromError:true now inherit from
   JSC::ErrorInstance instead of JSC::JSDestructibleObject

2. **Correct subspace allocation**: ErrorInstance classes use built-in error
   subspace instead of generating custom subspace methods

3. **Fixed constructor signatures**: ErrorInstance requires ErrorType::Error
   parameter in constructor

4. **Fixed finishCreation**: ErrorInstance requires message and cause parameters
   for proper initialization

5. **Set ErrorInstanceType**: JSType set to ErrorInstanceType for Error.isError()
   to return true

6. **Symbol property handling**: Fixed cached property generation to skip @@
   symbol properties that cause C++ syntax errors

This makes ResolveMessage objects proper Error instances that pass both
Error.isError() and instanceof Error checks.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-08-29 23:25:27 +00:00
..
2025-08-29 02:27:22 +00:00
2025-08-27 06:39:11 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00
2025-07-29 19:35:46 -07:00
2025-08-23 06:57:00 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00
2025-08-27 06:39:11 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00
2025-07-21 13:26:47 -07:00