@blockchaincommons/components - v1.0.0-beta.4
    Preparing search index...

    Interface InvalidSizeDetails

    Details of an InvalidSize failure.

    interface InvalidSizeDetails {
        code: "InvalidSize";
        dataType: string;
        expected: number;
        actual: number;
    }
    Index
    code: "InvalidSize"

    The discriminant.

    dataType: string

    What was being constructed, in the reference's words ("digest", "symmetric key", …).

    expected: number

    The byte length the type requires.

    actual: number

    The byte length that was given.