This commit is contained in:
2024-03-22 03:47:51 +05:30
parent 8bcf3d211e
commit 89819f6fe2
28440 changed files with 3211033 additions and 2 deletions

View File

@@ -0,0 +1,3 @@
declare class RpcMessagePortClosedError extends Error {
}
export { RpcMessagePortClosedError };

View File

@@ -0,0 +1,5 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class RpcMessagePortClosedError extends Error {
}
exports.RpcMessagePortClosedError = RpcMessagePortClosedError;

View File

@@ -0,0 +1,6 @@
declare class RpcRemoteError extends Error {
readonly stack?: string | undefined;
constructor(message: string, stack?: string | undefined);
toString(): string;
}
export { RpcRemoteError };

View File

@@ -0,0 +1,17 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
class RpcRemoteError extends Error {
constructor(message, stack) {
super(message);
this.stack = stack;
}
toString() {
if (this.stack) {
return [this.message, this.stack].join('\n');
}
else {
return this.message;
}
}
}
exports.RpcRemoteError = RpcRemoteError;