InvalidPlaintextError
Defined in: packages/filecoin-encryption-envelope/src/errors.ts:19
Plaintext supplied to an encryption operation is not a byte string.
Extends
Section titled “Extends”Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new InvalidPlaintextError(
message?):InvalidPlaintextError
Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1080
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
message? |
string |
Returns
Section titled “Returns”InvalidPlaintextError
Inherited from
Section titled “Inherited from”Constructor
Section titled “Constructor”new InvalidPlaintextError(
message?,options?):InvalidPlaintextError
Defined in: node_modules/.pnpm/typescript@6.0.3/node_modules/typescript/lib/lib.es5.d.ts:1080
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
message? |
string |
options? |
ErrorOptions |
Returns
Section titled “Returns”InvalidPlaintextError
Inherited from
Section titled “Inherited from”Properties
Section titled “Properties”name:
string='InvalidPlaintextError'
Defined in: packages/filecoin-encryption-envelope/src/errors.ts:20