mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-22 08:27:31 +09:00
Issue #2304 - Part 3 - Implement the error cause proposal. https://bugzilla.mozilla.org/show_bug.cgi?id=1679653
This commit is contained in:
parent
64dc722b28
commit
36285d0405
6 changed files with 81 additions and 12 deletions
|
|
@ -221,6 +221,12 @@ typedef enum JSWhyMagic
|
|||
/** for local use */
|
||||
JS_GENERIC_MAGIC,
|
||||
|
||||
/**
|
||||
* When an error object is created without the error cause argument, we set
|
||||
* the error's cause slot to this magic value.
|
||||
*/
|
||||
JS_ERROR_WITHOUT_CAUSE,
|
||||
|
||||
JS_WHY_MAGIC_COUNT
|
||||
} JSWhyMagic;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue