v1.2 - kfun - error

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.

ERRORS

The errormessage string may not contain newlines.

SEE ALSO

kfun/catch