Develop > Presentation layer > Customize WebSphere Commerce Accelerator, Organization Administration Console, or Administration Console > Tools framework > Notebooks
Notebook error code handling
When validating the notebook, you can display an error message from a resource bundle. The gotoPanel() function has an optional parameter: errorCode. The error code specified indicates what error has occurred. This error code is passed to the panel as an argument. Upon loading each notebook panel, check to see if any error codes have been passed in, using the parent.getErrorParams() function. If an error code has been passed in, display the appropriate error message for the error code.
Related concepts
Related tasks
Related reference