@param {string=} opt_error the error message, if any.
(opt_error)
| 26 | class WebDriverError extends Error { |
| 27 | /** @param {string=} opt_error the error message, if any. */ |
| 28 | constructor(opt_error) { |
| 29 | super(opt_error) |
| 30 | |
| 31 | /** @override */ |
| 32 | this.name = this.constructor.name |
| 33 | |
| 34 | /** |
| 35 | * A stacktrace reported by the remote webdriver endpoint that initially |
| 36 | * reported this error. This property will be an empty string if the remote |
| 37 | * end did not provide a stacktrace. |
| 38 | * @type {string} |
| 39 | */ |
| 40 | this.remoteStacktrace = '' |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | /** |
nothing calls this directly
no outgoing calls
no test coverage detected