Newton's Principia Mathematica

    @ledgerhq/errors
    TypeScript icon, indicating that this package has built-in type declarations

    6.2.0 • Public • Published

    @ledgerhq/errors

    Hodl all possible errors of Ledger (live, ledgerjs) so we can deal with them in a unified way (share between libraries, instanceof them,...)

    API

    Table of Contents

    TransportError

    TransportError is used for any generic transport errors. e.g. Error thrown when data received by exchanges are incorrect or if exchanged failed to communicate with the device for various reason.

    Parameters

    Returns void

    TransportStatusError

    Error thrown when a device returned a non success status. the error.statusCode is one of the StatusCodes exported by this library.

    Parameters

    Returns void

    Keywords

    Install

    npm i @ledgerhq/errors

    DownloadsWeekly Downloads

    80,230

    Version

    6.2.0

    License

    Apache-2.0

    Unpacked Size

    126 kB

    Total Files

    22

    Last publish

    Collaborators

    • haammar-ledger
    • achabrolin-ledger
    • mortalkastor
    • gre
    • btchip
    • meriadec
    • flocks
    • amougel
    • juan-cortes
    • val_pinkman
    • iammorrow
    • phenry-ledger
    • jdecussy-ledger
    • lfbarreto
    • junsugiura
    • hzheng_ledger
    • machard-ledger
    • glethuillier_ledger