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]
ImportError
encountered 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]
AttributeError
encountered 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]
ValueError
encountered in the operation of Highcharts for Python. Typically an implementation error.Class Inheritance
HighchartsNotSupportedError (from ValueError
and TypeError
)
HighchartsInstanceNeededError (from HighchartsNotSupportedError
and TypeError
)
HighchartsJavaScriptError (from ValueError
)
- exception HighchartsJavaScriptError[source]
ValueError
encountered 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]
ValueError
encountered when Highcharts for Python is unable to parse a JavaScript object literal correctly.Class Inheritance
HighchartsCSVDeserializationError (from ValueError
)
- exception HighchartsCSVDeserializationError[source]
ValueError
encountered when Highcharts for Python is unable to properly deserialize CSV data.Class Inheritance
HighchartsPandasDeserializationError (from ValueError
)
- exception HighchartsPandasDeserializationError[source]
ValueError
encountered when Highcharts for Python is unable to properly deserialize Pandas data.Class Inheritance
HighchartsPySparkDeserializationError (from ValueError
)
- exception HighchartsPySparkDeserializationError[source]
ValueError
encountered when Highcharts for Python is unable to properly deserialize PySpark data.Class Inheritance
HighchartsMissingKeyError (from ValueError
)
- exception HighchartsMissingKeyError[source]
ValueError
encountered when Highcharts for Python encounters a missing key when parsing a JavaScript object literal.Class Inheritance
HighchartsCollectionError (from ValueError
)
- exception HighchartsCollectionError[source]
ValueError
encountered 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]
ValueError
encountered 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]
ValueError
encountered 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]
ValueError
encountered when trying to use the Node Export Server.Class Inheritance
HighchartsUnsupportedProtocolError (from ValueError
)
- exception HighchartsUnsupportedProtocolError[source]
ValueError
encountered when trying to use an unsupported protocol to communicate with the Export Server.Class Inheritance
HighchartsUnsupportedExportError (from ValueError
)
- exception HighchartsUnsupportedExportError[source]
ValueError
encountered when trying to export a series type that is not yet supported by the Export Server.Class Inheritance
HighchartsUnsupportedExportTypeError (from ValueError
)
- exception HighchartsUnsupportedExportTypeError[source]
ValueError
encountered when requesting an unsupported image type from a Export Server.Class Inheritance
HighchartsUnsupportedConstructorError (from ValueError
)
- exception HighchartsUnsupportedConstructorError[source]
ValueError
encountered when supplying an unsupported constructor to an Export Server instance.Class Inheritance
HighchartsMissingExportSettingsError (from ValueError
)
- exception HighchartsMissingExportSettingsError[source]
ValueError
encountered when attempting to programmatically export a chart image, but key settings were not supplied to theExportServer
instance.Class Inheritance
HighchartsMissingSeriesError (from ValueError
)
- exception HighchartsMissingSeriesError[source]
ValueError
encountered when trying to reference a series that does not actually exist in the chart.Class Inheritance
HighchartsPythonConversionError (from ValueError
)
- exception HighchartsPythonConversionError[source]
ValueError
encountered when a generative AI model failed to convert a Python callable into a valid JavaScript function.Class Inheritance
HighchartsModerationError (from ValueError
)
- exception HighchartsModerationError[source]
ValueError
encountered when a generative AI model determined that the content supplied to it fails its content moderation criteria.Class Inheritance