MCPcopy
hub / github.com/appium/appium / constructor

Method constructor

lib/protocol/errors.js:149–154  ·  view source on GitHub ↗
(err)

Source from the content-addressed store, hash-verified

147 return 'invalid element state';
148 }
149 constructor (err) {
150 super(err || 'An element command could not be completed because the element is ' +
151 'in an invalid state (e.g. attempting to click a disabled element).',
152 InvalidElementStateError.code(), InvalidElementStateError.w3cStatus(),
153 InvalidElementStateError.error());
154 }
155}
156
157class UnknownError extends ProtocolError {

Callers

nothing calls this directly

Calls 3

codeMethod · 0.45
w3cStatusMethod · 0.45
errorMethod · 0.45

Tested by

no test coverage detected