errorScreen
This property specifies how the Error 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:
"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
The editor value can also be specified using the following shortcut values:
"vscode" - translates to "vscode://file/$file:$line:$column"
"pjs" - translates to "http://localhost:8081/ide/?ifsFile=$file&line=$line&column=$column"
Example Configuration
errorScreen: {
type: "development-advanced",
editor: "vscode"
}
Some documentation pages have recently moved to a new section: Profound AppDev. If you are having trouble finding specific pages, try the documentation search capability or reach out to our Support team!