Class: OddsZeroDivisionError
Defined in: src/odds/math.ts:38
Python ZeroDivisionError raised by the odds math (raw probabilities summing to 0,
sigma of 0, a probability of exactly 1 in logit_blend).
Remarks
name is 'ZeroDivisionError'; also exposed as oddsErrors.ZeroDivisionError.
Extends
Constructors
Constructor
new OddsZeroDivisionError(
message,options?):OddsZeroDivisionError
Defined in: src/core/errors.ts:224
Parameters
message
string
Human-readable message; callers redact it (see redactSecrets).
options?
{ cause } as for Error; the cause is stored through safeCause.
When options has no cause key, no cause is attached.
cause?
unknown
Returns
OddsZeroDivisionError
Inherited from
Properties
name
name:
string='ZeroDivisionError'
Defined in: src/odds/math.ts:39
Overrides
SdvError.name