class QPanda::QPandaException

QPanda2 exception basic class.

#include <QPandaException.h>

class QPandaException: public runtime_error
{
public:
    // construction

    QPandaException();
    QPandaException(const char* str);
    QPandaException(std::string str);

    // methods

    virtual const char* what();
};

// direct descendants

class calloc_fail;
class gate_alloc_fail;
class init_fail;
class qalloc_fail;
class qcircuit_construction_fail;
class qprog_construction_fail;
class qprog_syntax_error;
class qvm_attributes_error;
class result_get_fail;
class run_fail;
class undefine_error;