User-defined error

A user-defined error occurred. You used the Error statement to create an error and assigned it a number that is not a LotusScript® error number. You did not specify an error message in the Error statement, so LotusScript® displays the default error message "User-defined error."

To display a more meaningful error message, provide the message string as the second argument to the Error statement.