@dorothywebb/any-browser-mcp
Version:
Any Browser MCP - Launch Chrome with your actual data in debug mode for comprehensive browser automation
37 lines • 1.23 kB
JavaScript
/**
* Type definitions for Any Browser MCP
*/
// Export enhanced error handling system
export * from './errors.js';
// Legacy error classes - deprecated in favor of enhanced error system
// @deprecated Use ErrorFactory.createConnectionError() instead
export class BrowserConnectionError extends Error {
cause;
constructor(message, cause) {
super(message);
this.cause = cause;
this.name = 'BrowserConnectionError';
}
}
// @deprecated Use ErrorFactory.createConnectionError() instead
export class BrowserNotFoundError extends Error {
constructor(message) {
super(message);
this.name = 'BrowserNotFoundError';
}
}
// @deprecated Use ErrorFactory.createLazyInitError() instead
export class LazyInitializationError extends Error {
constructor(message) {
super(message);
this.name = 'LazyInitializationError';
}
}
export var ConnectionStatus;
(function (ConnectionStatus) {
ConnectionStatus["DISCONNECTED"] = "disconnected";
ConnectionStatus["CONNECTING"] = "connecting";
ConnectionStatus["CONNECTED"] = "connected";
ConnectionStatus["FAILED"] = "failed";
})(ConnectionStatus || (ConnectionStatus = {}));
//# sourceMappingURL=index.js.map