mirror of
https://github.com/appium/appium.git
synced 2026-10-29 04:36:39 +08:00
14 lines
270 B
JavaScript
14 lines
270 B
JavaScript
import { errors } from '../mjsonwp';
|
|
|
|
|
|
function produceError () {
|
|
throw new errors.UnknownCommandError('Produced generic error for testing');
|
|
}
|
|
|
|
function produceCrash () {
|
|
throw new Error('We just tried to crash Appium!');
|
|
}
|
|
|
|
|
|
export { produceError, produceCrash };
|