@blockchaincommons/lifehash - v1.0.0-beta.2
    Preparing search index...

    Variable LifeHashErrorCodeConst

    LifeHashErrorCode: {
        InvalidVersion: "InvalidVersion";
        InvalidModuleSize: "InvalidModuleSize";
        InvalidDigestLength: "InvalidDigestLength";
        InvalidArgument: "InvalidArgument";
    } = ...

    The LifeHashErrorCode values, for enumeration.

    Type Declaration

    • ReadonlyInvalidVersion: "InvalidVersion"

      version is not one of the LifeHashVersion names.

    • ReadonlyInvalidModuleSize: "InvalidModuleSize"

      moduleSize is not a positive integer, or the image it implies has more bytes than a number can count.

    • ReadonlyInvalidDigestLength: "InvalidDigestLength"

      A digest that is not 32 bytes.

    • ReadonlyInvalidArgument: "InvalidArgument"

      An argument of the wrong type: text, data, digest, options or hasAlpha.