FunctionsMisc$errorOn this page$error Sends an error message. Parameters ParameterDescriptiontextThe error message to sendcustomOptional. Indicates if it's a custom error message (true/false). Default is false. Example <AoiClient>.addCommand({ name: "send-error", code: ` $error[An error occurred] `,});