About custom error messages - Brainware for Transcripts - 24.1 - 24.1 - Ready - Brainware - external - Brainware/Brainware-for-Transcripts/24.1/Brainware-for-Transcripts-User-Guide/About-the-Brainware-for-Transcripts-customization-options/About-custom-error-messages - 2024-10-28

Brainware for Transcripts User Guide

Platform
Brainware
Product
Brainware for Transcripts
Release
24.1
License

If script code placed within the user exit framework is to include custom error messages, then these may be included as entries in the BRWERR table rather than being hard coded within the script. The error message number range is 900-999, which should not be modified in order to prevent any conflicts in the event of an upgrade. For example, in the BRWERR table, the following row has been added.

ErrorNumber Message
900 Please check data entry.

This can be retrieved through the script with the following line of code.

Dim myError As String
myError = DicVal("900", "ERR")

The local myError string now contains the following.

Please check data entry