```\nfunction functionDelegateCall(\n    address target,\n    bytes memory data,\n    string memory errorMessage\n) internal returns (bytes memory) {\n    require(isContract(target), "Address: delegate call to non-contract");\n\n    (bool success, bytes memory returndata) = target.delegatecall(data);\n    return verifyCallResult(success, returndata, errorMessage);\n}\n```\n