@azrico/error-helper
v1.0.6
Published
Some error display functions
Downloads
21
Readme
@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",
});