Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qv4sqlerrors_p.h
Go to the documentation of this file.
1// Copyright (C) 2021 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3// Qt-Security score:significant
4
5#ifndef QV4SQLERRORS_P_H
6#define QV4SQLERRORS_P_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists purely as an
13// implementation detail. This header file may change from version to
14// version without notice, or even be removed.
15//
16// We mean it.
17//
18
19#include <QtCore/private/qglobal_p.h>
20
21QT_BEGIN_NAMESPACE
22#define SQLEXCEPTION_UNKNOWN_ERR 1
23#define SQLEXCEPTION_DATABASE_ERR 2
24#define SQLEXCEPTION_VERSION_ERR 3
25#define SQLEXCEPTION_TOO_LARGE_ERR 4
26#define SQLEXCEPTION_QUOTA_ERR 5
27#define SQLEXCEPTION_SYNTAX_ERR 6
28#define SQLEXCEPTION_CONSTRAINT_ERR 7
29#define SQLEXCEPTION_TIMEOUT_ERR 8
30
31namespace QV4 {
32struct ExecutionEngine;
33}
34
35void qt_add_sqlexceptions(QV4::ExecutionEngine *engine);
36
37QT_END_NAMESPACE
38
39#endif // QV4SQLERRORS_P_H
Definition qjsvalue.h:23
void qt_add_sqlexceptions(QV4::ExecutionEngine *engine)
#define SQLEXCEPTION_TIMEOUT_ERR
#define SQLEXCEPTION_UNKNOWN_ERR
#define SQLEXCEPTION_DATABASE_ERR
#define SQLEXCEPTION_QUOTA_ERR
#define SQLEXCEPTION_VERSION_ERR
#define SQLEXCEPTION_SYNTAX_ERR
#define SQLEXCEPTION_TOO_LARGE_ERR
#define SQLEXCEPTION_CONSTRAINT_ERR