ReleaseAssetChecksumError
Thrown when downloaded bytes do not match the expected SHA-256. Nothing was written.
Import:
import { ReleaseAssetChecksumError } from '@mnaoumov/obsidian-lib/release-asset';Signature:
export class ReleaseAssetChecksumError extends ErrorExtends: Error
Constructor
new ReleaseAssetChecksumError(params: ReleaseAssetChecksumErrorConstructorParams)Creates the error.
Properties
| Property | Type | Description |
|---|---|---|
| actualSha256 | string | The SHA-256 of the downloaded bytes. |
| expectedSha256 | string | The expected SHA-256. |
| url | string | The URL the asset was downloaded from. |
Links to this page: