mirror of
https://github.com/x1xhlol/system-prompts-and-models-of-ai-tools.git
synced 2026-02-04 22:10:50 +00:00
nhj
more
This commit is contained in:
17
unified-ai-platform/node_modules/node-fetch/src/errors/base.js
generated
vendored
Normal file
17
unified-ai-platform/node_modules/node-fetch/src/errors/base.js
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user