@azrico/error-helper
TypeScript icon, indicating that this package has built-in type declarations

1.0.6 • Public • Published

@azrico/error-helper

Helps handling errors in your application

Install

yarn add @azrico/error-helper

Usage

import ErrorRegister from "deus-error-helper";

ErrorRegister.set_on_Add((err) =>
    console.log("new error detected ! ", err.title),
);
ErrorRegister.addError({
    title: "some error",
    message: "error message",
    type: "error",
});

License

MIT ©

Dependencies (0)

    Dev Dependencies (25)

    Package Sidebar

    Install

    npm i @azrico/error-helper

    Weekly Downloads

    40

    Version

    1.0.6

    License

    MIT

    Unpacked Size

    7.85 kB

    Total Files

    8

    Last publish

    Collaborators

    • azrideus