Defined in: packages/cas/src/errors.ts:64
Thrown when a caller passes an address, hash output, or artifact the store cannot accept.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new CasInvalidInputError(
code,message):CasInvalidInputError
Defined in: packages/errors/src/index.ts:40
Parameters
Section titled “Parameters”"INVALID_ADDRESS" | "INVALID_HASH" | "INVALID_ARTIFACT" | "HASH_FAILURE" | "BACKEND_FAILURE"
message
Section titled “message”string
Returns
Section titled “Returns”CasInvalidInputError
Inherited from
Section titled “Inherited from”Properties
Section titled “Properties”moduleName
Section titled “moduleName”
readonlymoduleName:"knotkit/cas"
Defined in: packages/cas/src/errors.ts:65
Overrides
Section titled “Overrides”
readonly_tag:"InvalidInputError"
Defined in: packages/errors/src/index.ts:38
Inherited from
Section titled “Inherited from”
readonlycode:"INVALID_ADDRESS"|"INVALID_HASH"|"INVALID_ARTIFACT"|"HASH_FAILURE"|"BACKEND_FAILURE"
Defined in: packages/errors/src/index.ts:41