Skip to content

assertAddPiecesFit

Type Alias Description
ErrorType - AtLeastOnePieceRequiredError when pieces is empty - InvalidUploadSizeError when a PieceCID size is below SIZE_CONSTANTS.MIN_UPLOAD_SIZE or above SIZE_CONSTANTS.MAX_UPLOAD_SIZE - AddPiecesBatchTooLargeError when a piece-count or message-size limit is exceeded - Error when data set or piece metadata exceeds the contract limits
OptionsType -