OnQueryError

From Onset Developer Wiki
Revision as of 14:53, 27 January 2020 by BlueMountains (talk | contribs) (Created page with "{{Info|Event|Server|1.0}} {{Notice|This function is provided by the official MariaDB plugin.}} {{FuncDescription|Generic event that is called when there is a mariadb quer...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
OnQueryError

Type: Event
Context: Server
Introduced: v1.0

NOTICE

This function is provided by the official MariaDB plugin.

Description

Generic event that is called when there is a mariadb query error.

Syntax

OnQueryError(errorid, error_str, query_str, handle_id)

Example

local function OnQueryError(errorid, error_str, query_str, handle_id)

end
AddEvent("OnQueryError", OnQueryError)

See also