Defined in: packages/distribution/src/errors.ts:27
Thrown when an input cannot describe or evaluate a distribution.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DistributionInvalidInputError(
code,message):DistributionInvalidInputError
Defined in: packages/errors/src/index.ts:40
Parameters
Section titled “Parameters”"INVALID_ARGUMENT" | "INVALID_PARAMETER" | "INVALID_PROBABILITY" | "INVALID_MOMENT_ORDER" | "INVALID_TABLE" | "INVALID_CALLBACK_VALUE" | "QUANTILE_NOT_BRACKETED" | "INVALID_SAMPLE" | "ZERO_VARIANCE"
message
Section titled “message”string
Returns
Section titled “Returns”DistributionInvalidInputError
Inherited from
Section titled “Inherited from”Properties
Section titled “Properties”moduleName
Section titled “moduleName”
readonlymoduleName:"knotkit/distribution"
Defined in: packages/distribution/src/errors.ts:28
Overrides
Section titled “Overrides”
readonly_tag:"InvalidInputError"
Defined in: packages/errors/src/index.ts:38
Inherited from
Section titled “Inherited from”
readonlycode:"INVALID_ARGUMENT"|"INVALID_PARAMETER"|"INVALID_PROBABILITY"|"INVALID_MOMENT_ORDER"|"INVALID_TABLE"|"INVALID_CALLBACK_VALUE"|"QUANTILE_NOT_BRACKETED"|"INVALID_SAMPLE"|"ZERO_VARIANCE"
Defined in: packages/errors/src/index.ts:41