This property specifies how the Error Stack Screen is displayed when Profound.js shows an error message.
It is provided as an object with the following configuration properties:
- type- there are 3 possible types:
...
- interactive - true or false value that allows the user to interact with the Error Stack interface by clicking
- "production" - No error stack is not shown
- "development" - A brief copy of the error stack is shown
- "development-advanced" - An Interactive Error Stack is shown, allowing you to click on each stack entry to see
- relevant code and jump into an editor to edit the code
- editor - specifies the IDE/Editor to link to for editing when using the Interactive Error Stack; the editor URL can have the following replacement variables:
- $file - the full path to the file name containing the code where the error occurred
- $line - line number where the error occurred
- $column - column number where the error occurred
...
Code Block | ||||
---|---|---|---|---|
| ||||
errorStackerrorScreen: { interactivetype: true"development-advanced", editor: "vscode" } |
Screenshot of Interactive Error Stack at runtime