niestandardowe nodeJS błędu
class Testing extends Error {
constructor(message) {
super(message);
this.name = this.constructor.name;
this.message = message;
Error.captureStackTrace(this, this.constructor);
}
}
Restu Wahyu Saputra