@blockchaincommons/dcbor - v1.0.0-beta.1
    Preparing search index...

    Type Alias Result<T>

    Result: { ok: true; value: T } | { ok: false; error: CborErrorTyped }

    A success/failure result carrying a CborError on failure.

    The primary API throws CborError; Result is used where a value is produced fallibly without exceptions (e.g. tag summarizers and the tryDecode helper).

    Type Parameters

    • T