Exceptions#

exception CanceledFutureError[source]#

An exception raised when code tries to read from a canceled future.

exception InvalidAPIResponseError(*args, **kwargs)[source]#

Unexpected response from D-Wave Solver API

exception InvalidProblemError[source]#

Solver cannot handle the given binary quadratic model.

exception PollingTimeout[source]#

Problem polling timed out.

exception ProblemError(*args, **kwargs)[source]#

Generic problem-related error

exception ProblemNotFoundError(*args, **kwargs)[source]#

Problem not found

exception ProblemStructureError[source]#

Problem structure incompatible with a structured solver graph.

exception ProblemUploadError[source]#

Problem multipart upload failed.

exception SolverAuthenticationError(*args, **kwargs)[source]#

Invalid token or access denied

exception SolverError(*args, **kwargs)[source]#

Generic solver-related error

exception SolverFailureError(*args, **kwargs)[source]#

Remote failure calling a solver

exception SolverNotFoundError(*args, **kwargs)[source]#

Solver with matching feature set not found / not available

exception SolverOfflineError(*args, **kwargs)[source]#

Action attempted on an offline solver

exception SolverPropertyMissingError(*args, **kwargs)[source]#

The solver received from the API does not have required properties

exception Timeout(*args, **kwargs)[source]#

Deprecated and unused.

exception UnsupportedSolverError(*args, **kwargs)[source]#

The solver received from the API is not supported by the client