gemini
Version:
UI Screenshot testing utility
15 lines (11 loc) • 422 B
JavaScript
;
const StateError = require('./state-error');
module.exports = class NoRefImageError extends StateError {
constructor(refImg = {}, currImg = {}) {
super(`Can not find reference image at ${refImg.path}.\n` +
'Run `gemini update` command to capture all reference images.');
this.name = 'NoRefImageError';
this.refImg = refImg;
this.currImg = currImg;
}
};