Error Reference


Handling Errors

Stack Traces

Because the SPSS Converter produces exceptions which inherit from the standard library, it leverages the same API for handling stack trace information. This means that it will be handled just like a normal exception in unit test frameworks, logging solutions, and other tools that might need that information.


SPSS Converter Errors

SPSSConverterError (from ValueError)

class SPSSConverterError[source]

Base exception raised by the SPSS Converter library.


ColumnNameNotFoundError (from SPSSConverterError)

class ColumnNameNotFoundError[source]

Exception raised when a given column or variable name is not found.


InvalidDataFormatError (from SPSSConverterError)

class InvalidDataFormatError[source]

Exception raised when a value did not conform to an expected type.


InvalidLayoutError (from SPSSConverterError)

class InvalidLayoutError[source]

Exception raised when a layout value was not recognized.