Defined in: packages/prng/src/errors.ts:24
Thrown when a PRNG operation receives an invalid bound, source value, or generator state.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new PrngInvalidInputError(
code,message):PrngInvalidInputError
Defined in: packages/errors/src/index.ts:40
Parameters
Section titled “Parameters”"INVALID_BOUND" | "INVALID_SOURCE_VALUE" | "INVALID_STATE"
message
Section titled “message”string
Returns
Section titled “Returns”PrngInvalidInputError
Inherited from
Section titled “Inherited from”Properties
Section titled “Properties”
readonly_tag:"InvalidInputError"
Defined in: packages/errors/src/index.ts:38
Inherited from
Section titled “Inherited from”
readonlycode:"INVALID_BOUND"|"INVALID_SOURCE_VALUE"|"INVALID_STATE"
Defined in: packages/errors/src/index.ts:41
Inherited from
Section titled “Inherited from”moduleName
Section titled “moduleName”
readonlymoduleName:"knotkit/prng"
Defined in: packages/prng/src/errors.ts:25