@arcscord/better-error
v1.0.4
Published
A better error class
Downloads
23
Readme
@arcscord/better-error
About
A package that extends Error class, with more functions like debugs
Install
pnpm add @arcscord/better-error
or npm install @arcscord/better-error
Example
import { BaseError } from "@arcscord/better-error";
const error = new BaseError({
message: "A error happen",
debugs: {
when: "now",
}
});