Error Reference
Handling Errors
Because Highcharts for Python 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.
Highcharts for Python Errors
HighchartsError (from ValueError)
HighchartsDependencyError (from ImportError)
- exception HighchartsDependencyError[source]
ImportErrorencountered when attempting to use a Highcharts for Python method that relies on a third-party library (e.g. pandas, PySpark, etc.) which is not available in the runtime environment.Class Inheritance

HighchartsReadOnlyError (from ValueError and AttributeError)
- exception HighchartsReadOnlyError[source]
AttributeErrorencountered when attempting to set a Highcharts for Python property that is only available as a read-only property.Class Inheritance

HighchartsImplementationError (from ValueError)
HighchartsValueError (from ValueError)
- exception HighchartsValueError[source]
ValueErrorencountered in the operation of Highcharts for Python. Typically an implementation error.Class Inheritance

HighchartsNotSupportedError (from ValueError and TypeError)
HighchartsJavaScriptError (from ValueError)
- exception HighchartsJavaScriptError[source]
ValueErrorencountered when a Python representation of some JavaScript code has been badly constructed. Typically an implementation error in your source code.Class Inheritance

HighchartsParseError (from ValueError)
- exception HighchartsParseError[source]
ValueErrorencountered when Highcharts for Python is unable to parse a JavaScript object literal correctly.Class Inheritance

HighchartsCSVDeserializationError (from ValueError)
- exception HighchartsCSVDeserializationError[source]
ValueErrorencountered when Highcharts for Python is unable to properly deserialize CSV data.Class Inheritance

HighchartsPandasDeserializationError (from ValueError)
- exception HighchartsPandasDeserializationError[source]
ValueErrorencountered when Highcharts for Python is unable to properly deserialize Pandas data.Class Inheritance

HighchartsPySparkDeserializationError (from ValueError)
- exception HighchartsPySparkDeserializationError[source]
ValueErrorencountered when Highcharts for Python is unable to properly deserialize PySpark data.Class Inheritance

HighchartsMissingKeyError (from ValueError)
- exception HighchartsMissingKeyError[source]
ValueErrorencountered when Highcharts for Python encounters a missing key when parsing a JavaScript object literal.Class Inheritance

HighchartsCollectionError (from ValueError)
- exception HighchartsCollectionError[source]
ValueErrorencountered when Highcharts for Python encounters a collection with more members than expected when parsing a JavaScript object literal.Class Inheritance

HighchartsVariableDeclarationError (from ValueError)
- exception HighchartsVariableDeclarationError[source]
ValueErrorencountered when Highcharts for Python tries to parse JavaScript code which is not represented as a proper variable declaration, and is unable to coerce the JavaScript code into a properly-formed variable declaration.Class Inheritance

HighchartsMissingClassNameError (from ValueError)
- exception HighchartsMissingClassNameError[source]
ValueErrorencountered when trying to serialize a JavaScriptClass instance to JavaScript, but the instance has no class_name provided.Class Inheritance

HighchartsExportServerError (from ValueError)
- exception HighchartsExportServerError[source]
ValueErrorencountered when trying to use the Node Export Server.Class Inheritance

HighchartsUnsupportedProtocolError (from ValueError)
- exception HighchartsUnsupportedProtocolError[source]
ValueErrorencountered when trying to use an unsupported protocol to communicate with the Export Server.Class Inheritance

HighchartsUnsupportedExportTypeError (from ValueError)
- exception HighchartsUnsupportedExportTypeError[source]
ValueErrorencountered when requesting an unsupported image type from a Export Server.Class Inheritance

HighchartsUnsupportedConstructorError (from ValueError)
- exception HighchartsUnsupportedConstructorError[source]
ValueErrorencountered when supplying an unsupported constructor to an Export Server instance.Class Inheritance

HighchartsMissingExportSettingsError (from ValueError)
- exception HighchartsMissingExportSettingsError[source]
ValueErrorencountered when attempting to programmatically export a chart image, but key settings were not supplied to theExportServerinstance.Class Inheritance



