19.1.8. camcops_server.cc_modules.cc_client_api_core¶
Copyright (C) 2012-2018 Rudolf Cardinal (rudolf@pobox.com).
This file is part of CamCOPS.
CamCOPS is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
CamCOPS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with CamCOPS. If not, see <http://www.gnu.org/licenses/>.
-
class
camcops_server.cc_modules.cc_client_api_core.
AllowedTablesFieldNames
[source]¶ To match allowedservertable.cpp on the tablet
-
class
camcops_server.cc_modules.cc_client_api_core.
ExtraStringFieldNames
[source]¶ To match extrastring.cpp on the tablet.
-
exception
camcops_server.cc_modules.cc_client_api_core.
IgnoringAntiqueTableException
[source]¶ Special exception to return success when we’re ignoring an old tablet’s request to upload the “storedvars” table.
-
exception
camcops_server.cc_modules.cc_client_api_core.
ServerErrorException
[source]¶ Exception class for when something’s broken on the server side.
-
class
camcops_server.cc_modules.cc_client_api_core.
TabletParam
[source]¶ Keys used by server or client (S server, C client, B bidirectional)
-
exception
camcops_server.cc_modules.cc_client_api_core.
UserErrorException
[source]¶ Exception class for when the input from the tablet is dodgy.
-
camcops_server.cc_modules.cc_client_api_core.
fail_server_error
(msg: str) → None[source]¶ Function to abort the script when something’s broken server-side.