You can use Error when you want to
stop execution of a UDF and print an error message to the console.
Example:
if (table_file == NULL)
Error("error reading file");
Important: Error is not supported by the interpreter
and can be used only in compiled UDFs.