MCPcopy Create free account
hub / github.com/chokkan/crfsuite / DirectorTypeMismatchException

Class DirectorTypeMismatchException

swig/python/export_wrap.cpp:3215–3236  ·  view source on GitHub ↗

type mismatch in the return value from a python method call */

Source from the content-addressed store, hash-verified

3213
3214 /* type mismatch in the return value from a python method call */
3215 class DirectorTypeMismatchException : public Swig::DirectorException {
3216 public:
3217 DirectorTypeMismatchException(PyObject *error, const char* msg="")
3218 : Swig::DirectorException(error, "SWIG director type mismatch", msg)
3219 {
3220 }
3221
3222 DirectorTypeMismatchException(const char* msg="")
3223 : Swig::DirectorException(PyExc_TypeError, "SWIG director type mismatch", msg)
3224 {
3225 }
3226
3227 static void raise(PyObject *error, const char *msg)
3228 {
3229 throw DirectorTypeMismatchException(error, msg);
3230 }
3231
3232 static void raise(const char *msg)
3233 {
3234 throw DirectorTypeMismatchException(msg);
3235 }
3236 };
3237
3238 /* any python exception that occurs during a director method call */
3239 class DirectorMethodException : public Swig::DirectorException {

Callers 1

raiseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected