Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ulixee
GitHub Repository: ulixee/secret-agent
Path: blob/main/commons/SessionClosedOrMissingError.ts
1028 views
1
import { CanceledPromiseError } from './interfaces/IPendingWaitEvent';
2
import { registerSerializableErrorType } from './TypeSerializer';
3
4
export default class SessionClosedOrMissingError extends CanceledPromiseError {
5
constructor(message: string) {
6
super(message);
7
this.name = 'SessionClosedOrMissingError';
8
}
9
}
10
11
registerSerializableErrorType(SessionClosedOrMissingError);
12
13