error(path, value, message) {
		return new Error(
			`Compiling RuleSet failed: ${message} (at ${path}: ${value})`
		);
	}
@param {string} path current path
@param {EXPECTED_ANY} value value at the error location
@param {string} message message explaining the problem
@returns {Error} an error object