File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -6,13 +6,14 @@ lists them and their runtime properties.
66On Erlang runtime errors are Erlang maps thrown with ` erlang:error/1 ` , having at
77least these properties:
88
9- | Key | Type | Value |
10- | --- | ---- | ----- |
11- | gleam_error | Atom | See individual errors |
12- | message | String | See individual errors |
13- | module | String | The module the error occurred in |
14- | function | String | The function the error occurred in |
15- | line | Int | The line number the error occurred on |
9+ | Key | Type | Value |
10+ | --- | ---- | ----- |
11+ | gleam_error | Atom | See individual errors |
12+ | message | String | See individual errors |
13+ | file | String | A path to the original source file location |
14+ | module | String | The module the error occurred in |
15+ | function | String | The function the error occurred in |
16+ | line | Int | The line number the error occurred on |
1617
1718On JavaScript runtime errors are instances of the JavaScript ` Error ` class,
1819having at least these properties added to them:
You can’t perform that action at this time.
0 commit comments