Error Reference


Handling Errors

Because Highcharts Stock 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)

exception HighchartsError[source]

Basic error that all other Highcharts for Python exceptions inherit from.

Class Inheritance
Inheritance diagram of HighchartsError

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
Inheritance diagram of HighchartsDependencyError

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
Inheritance diagram of HighchartsReadOnlyError

HighchartsImplementationError (from ValueError)

exception HighchartsImplementationError[source]

Error that indicates you have implemented something incorrectly in your code.

Class Inheritance
Inheritance diagram of HighchartsImplementationError

HighchartsValueError (from ValueError)

exception HighchartsValueError[source]

ValueError encountered in the operation of Highcharts for Python. Typically an implementation error.

Class Inheritance
Inheritance diagram of HighchartsValueError

HighchartsNotSupportedError (from ValueError and TypeError)

exception HighchartsNotSupportedError[source]

TypeError encountered when attempting functionality that is not (and is not intended to be) supported.

Class Inheritance
Inheritance diagram of HighchartsNotSupportedError

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
Inheritance diagram of HighchartsJavaScriptError

HighchartsParseError (from ValueError)

exception HighchartsParseError[source]

ValueError encountered when Highcharts for Python is unable to parse a JavaScript object literal correctly.

Class Inheritance
Inheritance diagram of HighchartsParseError

HighchartsCSVDeserializationError (from ValueError)

exception HighchartsCSVDeserializationError[source]

ValueError encountered when Highcharts for Python is unable to properly deserialize CSV data.

Class Inheritance
Inheritance diagram of HighchartsCSVDeserializationError

HighchartsMissingKeyError (from ValueError)

exception HighchartsMissingKeyError[source]

ValueError encountered when Highcharts for Python encounters a missing key when parsing a JavaScript object literal.

Class Inheritance
Inheritance diagram of HighchartsMissingKeyError

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
Inheritance diagram of HighchartsCollectionError

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
Inheritance diagram of HighchartsVariableDeclarationError

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
Inheritance diagram of HighchartsMissingClassNameError

HighchartsExportServerError (from ValueError)

exception HighchartsExportServerError[source]

ValueError encountered when trying to use the Node Export Server.

Class Inheritance
Inheritance diagram of HighchartsExportServerError

HighchartsUnsupportedProtocolError (from ValueError)

exception HighchartsUnsupportedProtocolError[source]

ValueError encountered when trying to use an unsupported protocol to communicate with the Export Server.

Class Inheritance
Inheritance diagram of HighchartsUnsupportedProtocolError

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
Inheritance diagram of HighchartsUnsupportedExportError

HighchartsUnsupportedExportTypeError (from ValueError)

exception HighchartsUnsupportedExportTypeError[source]

ValueError encountered when requesting an unsupported image type from a Export Server.

Class Inheritance
Inheritance diagram of HighchartsUnsupportedExportTypeError

HighchartsUnsupportedConstructorError (from ValueError)

exception HighchartsUnsupportedConstructorError[source]

ValueError encountered when supplying an unsupported constructor to an Export Server instance.

Class Inheritance
Inheritance diagram of HighchartsUnsupportedConstructorError

HighchartsMissingExportSettingsError (from ValueError)

exception HighchartsMissingExportSettingsError[source]

ValueError encountered when attempting to programmatically export a chart image, but key settings were not supplied to the ExportServer instance.

Class Inheritance
Inheritance diagram of HighchartsMissingExportSettingsError