Skip to main contentIBM Quantum Documentation
You are viewing the API reference for an old version of Qiskit SDK. Switch to latest version

ModelValidationError

ModelValidationError(message, field_name=None, data=None, valid_data=None, **kwargs) GitHub(opens in a new tab)

Raised when a sequence subscript is out of range.

Set the error message.

with_traceback

with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

Was this page helpful?