53 #define QOF_MOD_BACKEND "qof.backend" 59 ERR_BACKEND_NO_ERR = 0,
138 gboolean qof_backend_can_rollback (
QofBackend*);
159 void qof_book_set_backend (QofBook *book,
QofBackend *);
commit of object update failed because another user has deleted the object
No read access permission for the given file.
Lost connection to server.
can't accept connection
database is busy, cannot upgrade version
couldn't parse the data in the file
whatever it is, we can't parse it.
QofBackendError
The errors that can be reported to the GUI & other front-end users.
wrong kind of server, wrong data served
void qof_backend_set_error(QofBackend *, QofBackendError)
Set the error on the specified QofBackend.
commit of object update failed because another user has modified the object
database is old and needs upgrading
Object instance holds common fields that most gnucash objects use.
in use by another user (ETXTBSY)
couldn't write to the file
file will be upgraded and not be able to be read by prior versions - warn users
QofBackendError qof_backend_get_error(QofBackend *)
Get the last backend error.
error in response from server
didn't recognize the file type
user login successful, but no permissions to access the desired object
file does not specify encoding
not enough bytes received
database is newer, we can't write to it
database doesn't contain expected data
EOVERFLOW - generated by strtol or strtoll.
User attempt to write to a directory reserved for internal use by GnuCash.
file exists, is readable, but is empty
void qof_finalize_backend_libraries(void)
Finalize all loaded backend shareable libraries.
file/db version newer than what we can read
no backend handler found for this access method (ENOSYS)
read failed or file prematurely truncated
LibDBI has numeric errors.
can't bind to address
the named database doesn't exist
gboolean qof_load_backend_library(const gchar *directory, const gchar *module_name)
Load a QOF-compatible backend shared library.
couldn't make a backup of the file
File exists, data would be destroyed.
mangled locks (unspecified error)
Backend * pointer was unexpectedly null.
cannot write to file/directory
bad dbname/login/passwd or network failure
void(* QofBePercentageFunc)(const char *message, double percent)
DOCUMENT ME!
could not complete test for LibDBI bug
internal memory allocation failure
QofBackend * qof_book_get_backend(const QofBook *book)
Retrieve the backend used by this book.
file version so old we can't read it
Could not open the file for reading.