Nuclear Pumpkin Mayhem

    @prague-digi/error-handler

    1.0.2 • Public • Published

    @prague-digi/error-handler

    Global error handler for catching unexpected exceptions.

    Required peer dependency - https://gitlab.com/moneta-digi/redux-logger

    Usage

    • Somewhere on the top level include
    import errorHandler from '@prague-digi/error-handler'
    
    errorHandler(onErrorCallback)

    onErrorCallback: (message) => void

    • (optional) Callback to call on error, receives message as the first argument

    Keywords

    none

    Install

    npm i @prague-digi/error-handler

    DownloadsWeekly Downloads

    26

    Version

    1.0.2

    License

    ISC

    Last publish

    Collaborators

    • machy
    • roman.hala
    • kakin
    • josefzamrzla