UNPKG

@applitools/execution-grid-tunnel

Version:

Allows user to run tests with exection-grid and navigate to private hosts and ips

20 lines (16 loc) 602 B
class FrpcDownloadError extends Error { constructor(downloadUrl, downloadDirectory, frpcPath, ...params) { super(...params); // Maintains proper stack trace for where our error was thrown (only available on V8) if (Error.captureStackTrace) { Error.captureStackTrace(this, FrpcDownloadError) } this.name = "FrpcDownloadError" // Custom debugging information this.userError = true this.downloadUrl = downloadUrl this.downloadDirectory = downloadDirectory this.frpcPath = frpcPath } } module.exports = FrpcDownloadError