Class: OddsRuntimeError
Defined in: src/odds/math.ts:56
Python RuntimeError raised when the Shin root solver (a port of scipy's brentq)
fails to converge within 100 iterations.
Remarks
name is 'RuntimeError'; also exposed as oddsErrors.RuntimeError.
Extends
Constructors
Constructor
new OddsRuntimeError(
message,options?):OddsRuntimeError
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
OddsRuntimeError
Inherited from
Properties
name
name:
string='RuntimeError'
Defined in: src/odds/math.ts:57
Overrides
SdvError.name