Exceptions

exception dwave.cloud.exceptions.CanceledFutureError

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

exception dwave.cloud.exceptions.ConfigFileError

Base exception for all config file processing errors.

exception dwave.cloud.exceptions.ConfigFileParseError

Invalid format of config file.

exception dwave.cloud.exceptions.ConfigFileReadError

Non-existing or unreadable config file specified or implied.

exception dwave.cloud.exceptions.InvalidAPIResponseError

Raised when an invalid/unexpected response from D-Wave Solver API is received.

exception dwave.cloud.exceptions.InvalidProblemError

Solver cannot handle the given binary quadratic model.

exception dwave.cloud.exceptions.PollingTimeout

Problem polling timed out.

exception dwave.cloud.exceptions.ProblemUploadError

Problem multipart upload failed.

exception dwave.cloud.exceptions.RequestTimeout

REST API request timed out.

exception dwave.cloud.exceptions.SolverAuthenticationError

An exception raised when there is an authentication error.

exception dwave.cloud.exceptions.SolverError

Generic base class for all solver-related errors.

exception dwave.cloud.exceptions.SolverFailureError

An exception raised when there is a remote failure calling a solver.

exception dwave.cloud.exceptions.SolverNotFoundError

Solver with matching feature set not found / not available.

exception dwave.cloud.exceptions.SolverOfflineError

Action attempted on an offline solver.

exception dwave.cloud.exceptions.SolverPropertyMissingError

The solver we received from the API does not have required properties.

exception dwave.cloud.exceptions.Timeout

General timeout error.

exception dwave.cloud.exceptions.UnsupportedSolverError

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