Exceptions¶
-
class
nupic.frameworks.opf.exceptions.
HTMPredictionModelException
(errorString, debugInfo=None)¶ Base exception class for
HTMPredictionModel
exceptions.Parameters: - errorString – (string) Error code/msg: e.g., “Invalid request object.”
- debugInfo – (object) An optional sequence of debug information; must be convertible to JSON; pass None to ignore.
-
class
nupic.frameworks.opf.exceptions.
HTMPredictionModelInvalidArgument
(errorString, debugInfo=None)¶ Bases:
nupic.frameworks.opf.exceptions.HTMPredictionModelException
Raised when a supplied value to a method is invalid.
-
class
nupic.frameworks.opf.exceptions.
HTMPredictionModelInvalidRangeError
(errorString, debugInfo=None)¶ Bases:
nupic.frameworks.opf.exceptions.HTMPredictionModelException
Raised when supplied ranges to a method are invalid.