Exceptions

All the exceptions in probabilities are placed here. Create a new file for each large exception - if it got inheritance or some exception that walking together.

class ProbabilityError[source]

Bases: builtins.ArithmeticError

Thrown when can’t calculate any probabilities.

class ProbabilityValueError(*args, **kwargs)[source]

Bases: builtins.ValueError

Thrown when probabilities value is wrong.