1.0.1 • Published 2 years ago
error-client v1.0.1
error-client
A simple Error Client that utilizes atils's ErrorBuilder.
Uses atils@1.2.2
.
installing
npm i error-client
const Client = require('error-client');
using
const ErrorClient = require('error-client');
const client = new ErrorClient({
catch: false, // whether to catch errors automagically
displayDate: true, // whether to display the date in the error
displayStackTrace: true, // whether to display the stack trace in the error
logStackTraces: false, // whether to log stack traces into files
});
client.create({
name: "Example Error",
message: "This is an example.",
});
client.throw("Example Error");
Fixed some issues like 5 minutes after release.
Latest Update: error-client@1.0.1
on 3/21/2022
by itsatelo
Started On: error-client@1.0.0
on 3/21/2022
by itsatelo