docsFunctionsErrorsZerrorZerror Halts execution and displays a custom user-facing error message. Syntax Zerror{message} Arguments NameTypeRequiredDefaultmessagestringNo- Example Zerror{You do not have permission to use this command.}ZthreadUserCountZstop