@sap_oss/wdio-qmate-service
Version:
[](https://api.reuse.software/info/github.com/SAP/wdio-qmate-service)[](http
16 lines • 582 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ErrorMessages = void 0;
class ErrorMessages {
static customErrorWithMessage(functionName, message) {
return `Function '${functionName}' failed with: ${message}`;
}
static customErrorWithoutMessage(functionName) {
return `Function '${functionName}' failed with: unknown error`;
}
static genericErrorMessage() {
return `Failed due to an exception in the code block`;
}
}
exports.ErrorMessages = ErrorMessages;
//# sourceMappingURL=errorMessages.js.map