Shared functions and methods
Custom Exceptions
Error
- class nzpyida.exceptions.Error(message)[source]
This is the base class of all other exceptions thrown by ibmdbpy. It can be used to catch all exceptions with a single except statement.
- Attributes:
- args
Methods
add_noteException.add_note(note) -- add a note to the exception
with_tracebackException.with_traceback(tb) -- set self.__traceback__ to tb and return self.
IdaDataBaseError
- class nzpyida.exceptions.IdaDataBaseError(message)[source]
This exception is raised when an error occurs while you manipulate the IdaDataBase interface.
- Attributes:
- args
Methods
add_noteException.add_note(note) -- add a note to the exception
with_tracebackException.with_traceback(tb) -- set self.__traceback__ to tb and return self.
IdaDataFrameError
- class nzpyida.exceptions.IdaDataFrameError(message)[source]
This exception is raised when an error occurs while you manipulate the IdaDataFrame interface.
- Attributes:
- args
Methods
add_noteException.add_note(note) -- add a note to the exception
with_tracebackException.with_traceback(tb) -- set self.__traceback__ to tb and return self.
PrimaryKeyError
- class nzpyida.exceptions.PrimaryKeyError(message)[source]
This exception is raised when an error occurs because of a missing or eroneous primary key column.
- Attributes:
- args
Methods
add_noteException.add_note(note) -- add a note to the exception
with_tracebackException.with_traceback(tb) -- set self.__traceback__ to tb and return self.
IdaKMeansError
- class nzpyida.exceptions.IdaKMeansError(message)[source]
This exception is raised when an error related to the ibmdbpy KMeans clustering occurs.
- Attributes:
- args
Methods
add_noteException.add_note(note) -- add a note to the exception
with_tracebackException.with_traceback(tb) -- set self.__traceback__ to tb and return self.
IdaAssociationRulesError
- class nzpyida.exceptions.IdaAssociationRulesError(message)[source]
This exception is raised when an error related to ibmdbpy Association Rules occurs.
- Attributes:
- args
Methods
add_noteException.add_note(note) -- add a note to the exception
with_tracebackException.with_traceback(tb) -- set self.__traceback__ to tb and return self.
IdaNaiveBayesError
- class nzpyida.exceptions.IdaNaiveBayesError(message)[source]
This exception is raised when an error related to ibmdbpy Naive Bayes occurs.
- Attributes:
- args
Methods
add_noteException.add_note(note) -- add a note to the exception
with_tracebackException.with_traceback(tb) -- set self.__traceback__ to tb and return self.