Views:

Description

Shows the user an error message. 

The parameter appendextralines controls if two extra line breaks are post-fixed to the message. This has the effect of making the error message easier to read as it has extra white space in the Microsoft pop-up dialog. The parameter appendextralines is defaulted to true if not supplied. 

Signature 1

ThrowError('message') 

Signature 2

ThrowError('message', 'appendextralines')

Example 1

ThrowError('The start date must be before the end date.')

Example 2

ThrowError('The start date must be before the end date.', false)

Parameters

Name Type Description Required
Value xxxx xxxx xxxx