regis-loop

This commit is contained in:
adrapier03
2026-07-01 21:11:58 +07:00
parent 0ea4265045
commit 1fb6c82319
306 changed files with 419709 additions and 1 deletions
+17
View 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;
}
}