File "base.js"
Full Path: C:/wamp64/www/INTERPRETE2/backend/node_modules/node-fetch/src/errors/base.js
File size: 346 bytes
MIME-type: text/plain
Charset: utf-8
export class FetchBaseError extends Error {
constructor(message, type) {
super(message);
// Hide custom error implementation details from end-users
Error.captureStackTrace(this, this.constructor);
this.type = type;
}
get name() {
return this.constructor.name;
}
get [Symbol.toStringTag]() {
return this.constructor.name;
}
}