@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 ©

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.6
    22
    • latest

Version History

Package Sidebar

Install

npm i @azrico/error-helper

Weekly Downloads

23

Version

1.0.6

License

MIT

Unpacked Size

7.85 kB

Total Files

8

Last publish

Collaborators

  • azrideus