Skip to main content

Class: OddsOverflowError

Defined in: src/odds/math.ts:47

Python OverflowError raised when exp(-logit) overflows to Infinity from a finite logit in logit_blend.

Remarks​

name is 'OverflowError'; also exposed as oddsErrors.OverflowError.

Extends​

Constructors​

Constructor​

new OddsOverflowError(message, options?): OddsOverflowError

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​

OddsOverflowError

Inherited from​

SdvError.constructor

Properties​

name​

name: string = 'OverflowError'

Defined in: src/odds/math.ts:48

Overrides​

SdvError.name