$varExistError

Returns a custom error if a certain variable doesn't exist in the app.

Syntax

$varExistError[Name;Error message]

Parameters

  • Name : The variable that should exist.
  • Error message : The custom error message to return if the variable doesn't exist.

Example

$nomention
$varExistError[Cool;Add the 'Cool' variable in the app.]
$setUserVar[Cool;true]
You are now cool!

example