This module contains exception and error classes for the API.

The following classes are available:

exception hana_ml.ml_exceptions.BadSQLError

Bases: hana_ml.ml_exceptions.Error

Raised if malformed tokens or unexpected comments are detected in SQL.

exception hana_ml.ml_exceptions.Error

Bases: exceptions.Exception

Base class for hana_ml exceptions.

exception hana_ml.ml_exceptions.FitIncompleteError

Bases: hana_ml.ml_exceptions.Error

Exception class raised by performing predict or score without fit first.

exception hana_ml.ml_exceptions.PALUnusableError

Bases: hana_ml.ml_exceptions.Error

Raised if hana_ml cannot access a compatible version of PAL.