citric.exceptions#

Common exceptions.

Exceptions#

ResponseMismatchError

Exception raised when request and response ID don't match.

LimeSurveyError

Basic exception raised by LimeSurvey.

LimeSurveyStatusError

Exception raised when LimeSurvey responds with an error status.

LimeSurveyApiError

Exception raised when LimeSurvey responds with a non-null error.

RPCInterfaceNotEnabledError

RPC interface not enabled on LimeSurvey.

InvalidJSONResponseError

RPC interface maybe not enabled on LimeSurvey.

Module Contents#

exception citric.exceptions.ResponseMismatchError[source]#

Bases: Exception

Exception raised when request and response ID don’t match.

exception citric.exceptions.LimeSurveyError(message)[source]#

Bases: Exception

Basic exception raised by LimeSurvey.

Parameters:

message (str) – Exception message. By default none, and a generic message is used.

exception citric.exceptions.LimeSurveyStatusError(message)[source]#

Bases: LimeSurveyError

Exception raised when LimeSurvey responds with an error status.

exception citric.exceptions.LimeSurveyApiError(message)[source]#

Bases: LimeSurveyError

Exception raised when LimeSurvey responds with a non-null error.

exception citric.exceptions.RPCInterfaceNotEnabledError[source]#

Bases: LimeSurveyError

RPC interface not enabled on LimeSurvey.

exception citric.exceptions.InvalidJSONResponseError[source]#

Bases: LimeSurveyError

RPC interface maybe not enabled on LimeSurvey.