JULEA
Loading...
Searching...
No Matches
jdb-error.h
Go to the documentation of this file.
1/*
2 * JULEA - Flexible storage framework
3 * Copyright (C) 2019 Benjamin Warnke
4 *
5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU Lesser General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
23#ifndef JULEA_DB_ERROR_H
24#define JULEA_DB_ERROR_H
25
26#if !defined(JULEA_DB_H) && !defined(JULEA_DB_COMPILATION)
27#error "Only <julea-db.h> can be included directly."
28#endif
29
30#include <glib.h>
31
32G_BEGIN_DECLS
33
34#define J_DB_ERROR j_db_error_quark()
35
52
53typedef enum JDBError JDBError;
54
55GQuark j_db_error_quark(void);
56
57G_END_DECLS
58
59#endif
GQuark j_db_error_quark(void)
Definition jdb-internal.c:47
JDBError
Definition jdb-error.h:37
@ J_DB_ERROR_DUPLICATE_INDEX
Definition jdb-error.h:38
@ J_DB_ERROR_SELECTOR_TOO_COMPLEX
Definition jdb-error.h:47
@ J_DB_ERROR_SELECTOR_MUST_NOT_EQUAL
Definition jdb-error.h:46
@ J_DB_ERROR_MODE_INVALID
Definition jdb-error.h:40
@ J_DB_ERROR_VARIABLE_ALREADY_SET
Definition jdb-error.h:49
@ J_DB_ERROR_SCHEMA_NOT_INITIALIZED
Definition jdb-error.h:43
@ J_DB_ERROR_VARIABLE_NOT_FOUND
Definition jdb-error.h:50
@ J_DB_ERROR_ITERATOR_NO_MORE_ELEMENTS
Definition jdb-error.h:39
@ J_DB_ERROR_SCHEMA_INITIALIZED
Definition jdb-error.h:42
@ J_DB_ERROR_SELECTOR_EMPTY
Definition jdb-error.h:45
@ J_DB_ERROR_TYPE_INVALID
Definition jdb-error.h:48
@ J_DB_ERROR_SCHEMA_SERVER
Definition jdb-error.h:44
@ J_DB_ERROR_OPERATOR_INVALID
Definition jdb-error.h:41