Lines Matching refs:error
201 console.error(`${TAG} Loop nesting occurs : ${desc}`);
352 if (breakOnError && (obj.error > 0 || obj.failure > 0)) { // breakOnError模式
355 if (itItem.error) {
356 obj.error++;
378 async setSuiteResults(suite, error, coreContext) {
386 if (error instanceof AssertException) {
387 specItem.fail = error;
389 specItem.error = error;
397 await this.setSuiteResults(suiteItem, error, coreContext);
411 let obj = { total: 0, failure: 0, error: 0, pass: 0, ignore: 0, duration: 0, itItemList: []};
415 obj.ignore = obj.total - obj.pass - obj.failure - obj.error;
698 console.error(`${TAG}stack:${e?.stack}`);
699 console.error(`${TAG}stack end`);
703 specItem.error = e;
737 } catch (error) {
738 console.error(`${TAG}${error?.stack}`);
739 this.hookError = error;
757 } catch (error) {
758 console.error(`${TAG}${error?.stack}`);
759 this.hookError = error;
778 console.error(`${TAG}${e.stack}`);
788 } catch (error) {
789 error['message'] += `, error in ${hookName} function`;
790 throw error;
936 this.error = undefined;
977 this.error = e;
1182 if (spec.error) {
1183 this.formatPrint('error', spec.description + ' ; consuming ' + spec.duration + 'ms');
1184 this.formatPrint('errorDetail', spec.error);
1191 this.formatPrint(this.specService.currentRunningSpec.error, msg);
1203 msg = 'total cases:' + summary.total + ';failure ' + summary.failure + ',' + 'error ' + summary.error;
1236 case 'error':
1237 console.info(`${TAG}[error]${msg}`);