Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qv4sqlerrors.cpp File Reference
#include "qv4sqlerrors_p.h"
#include "private/qv4engine_p.h"
#include "private/qv4object_p.h"
+ Include dependency graph for qv4sqlerrors.cpp:

Go to the source code of this file.

Functions

void qt_add_sqlexceptions (QV4::ExecutionEngine *engine)
 

Function Documentation

◆ qt_add_sqlexceptions()

void qt_add_sqlexceptions ( QV4::ExecutionEngine engine)

Definition at line 12 of file qv4sqlerrors.cpp.

References engine, QV4::Value::fromInt32(), QJSEngine::globalObject(), QJSEngine::newObject(), QStringLiteral, SQLEXCEPTION_CONSTRAINT_ERR, SQLEXCEPTION_DATABASE_ERR, SQLEXCEPTION_QUOTA_ERR, SQLEXCEPTION_SYNTAX_ERR, SQLEXCEPTION_TIMEOUT_ERR, SQLEXCEPTION_TOO_LARGE_ERR, SQLEXCEPTION_UNKNOWN_ERR, and SQLEXCEPTION_VERSION_ERR.

Referenced by QV4::ExecutionEngine::initializeGlobal().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: