error

error(msg) allows exiting from current script or function and displaying the error message msg (which must be a string).

See also

help