EnvelopeError
Defined in: packages/filecoin-encryption-envelope/src/errors.ts:9
Base class for errors defined by this package.
Extends
Section titled “Extends”Extended by
Section titled “Extended by”InvalidKeyErrorInvalidPlaintextErrorCryptoOperationErrorAuthenticationErrorNoUsableRecipientErrorRecipientUnwrapErrorRecipientAttemptLimitErrorKeyResolutionErrorInvalidChunkSizeErrorInvalidCiphertextLengthErrorChunkCountExceededErrorInvalidPlaintextLengthErrorInvalidNonceErrorInvalidRangeErrorInvalidSourceLengthErrorMalformedEnvelopeErrorUnsupportedSchemeErrorCriticalHeaderError
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new EnvelopeError(
message?):EnvelopeError
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”EnvelopeError
Inherited from
Section titled “Inherited from”Error.constructor
Constructor
Section titled “Constructor”new EnvelopeError(
message?,options?):EnvelopeError
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”EnvelopeError
Inherited from
Section titled “Inherited from”Error.constructor
Properties
Section titled “Properties”name:
string='EnvelopeError'
Defined in: packages/filecoin-encryption-envelope/src/errors.ts:10
Overrides
Section titled “Overrides”Error.name