19#ifndef KDAV2_DAVERROR_H
20#define KDAV2_DAVERROR_H
22#include "kpimkdav2_export.h"
33 ERR_PROBLEM_WITH_REQUEST = KJob::UserDefinedError + 200,
35 ERR_SERVER_UNRECOVERABLE,
36 ERR_COLLECTIONDELETE = ERR_PROBLEM_WITH_REQUEST + 10,
37 ERR_COLLECTIONFETCH = ERR_PROBLEM_WITH_REQUEST + 20,
38 ERR_COLLECTIONFETCH_XQUERY_SETFOCUS,
39 ERR_COLLECTIONFETCH_XQUERY_INVALID,
40 ERR_COLLECTIONMODIFY = ERR_PROBLEM_WITH_REQUEST + 30,
41 ERR_COLLECTIONMODIFY_NO_PROPERITES,
42 ERR_COLLECTIONMODIFY_RESPONSE,
43 ERR_COLLECTIONCREATE = ERR_PROBLEM_WITH_REQUEST + 40,
44 ERR_ITEMCREATE = ERR_PROBLEM_WITH_REQUEST + 100,
45 ERR_ITEMDELETE = ERR_PROBLEM_WITH_REQUEST + 110,
46 ERR_ITEMMODIFY = ERR_PROBLEM_WITH_REQUEST + 120,
47 ERR_ITEMLIST = ERR_PROBLEM_WITH_REQUEST + 130,
48 ERR_ITEMLIST_NOMIMETYPE
51class KPIMKDAV2_EXPORT
Error {
54 explicit Error(ErrorNumber errNo,
int httpStatusCode,
int responseCode,
const QString &errorText,
int jobErrorCode);
59 ErrorNumber errorNumber()
const;
64 int httpStatusCode()
const;
69 int responseCode()
const;
79 int jobErrorCode()
const;
87 ErrorNumber mErrorNumber;
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:04:05 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.