@vates/xw-api-errors

0.9.0 • Public • Published

Error/Exception lib with the purpose to be shared between Server and Client.

Functions getCodeFromError provides an error number that can be used in client/server message.

Functions getErrorFormCode can, retrieve an error class to instanciate from a number found in a message.

/@vates/xw-api-errors/

    Package Sidebar

    Install

    npm i @vates/xw-api-errors

    Weekly Downloads

    1

    Version

    0.9.0

    License

    none

    Unpacked Size

    20.6 kB

    Total Files

    3

    Last publish

    Collaborators

    • mlssfrncjrg
    • b-nollet
    • arnogues
    • florent.beauchamp
    • mathieura
    • enishowk
    • tgoettelmann
    • julien-f
    • marsaud
    • olivierlambert
    • pdonias