Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qv4sqlerrors.cpp File Reference

(0dc4fd240a2897c5c443a0ef6d84c416843e4938)

#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: