MappingError#

class skactiveml.exceptions.MappingError[source]#

Bases: Exception

Exception class to raise if a strategy needs a mapping between samples and candidates which is not available.

add_note(object, /)#

Exception.add_note(note) – add a note to the exception

args#
with_traceback(object, /)#

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