Error Messages
Errors in SFHub Studio could be raised at different levels:
By the SFHub Studio Web Editor
SFHub Studio supports the editing of the analytic, performing consistency checks every time a save is requested.
SFCodeBlock configuration is saved (Save button on the Configuration Panel)
SFHub Studio Analytic is saved
Consistency checks are performed on:
Improper use of SFCodeBlocks
Syntax error on the configured expressions
In such cases, the error messages are raised to the user through a message Toast and/or a pop-up message, centered on the screen.
Message Toast - example
Pop-up Message - example 1
Pop-up Message - example 2
At run time during the execution of the analytic
In the case of a runtime error, the error messages are logged under the 'Execution' tab or 'Output' tab of the SFHub Studio Web Editor.