NAME error - cause an error SYNOPSIS void error(string errormessage) DESCRIPTION Cause an error, which will stop execution. If the error is caught, execution will continue after the catch.