1<?xml version="1.0" encoding="ascii"?> 2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 3 "DTD/xhtml1-transitional.dtd"> 4<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 5<head> 6 <title>googleapiclient.errors.BatchError</title> 7 <link rel="stylesheet" href="epydoc.css" type="text/css" /> 8 <script type="text/javascript" src="epydoc.js"></script> 9</head> 10 11<body bgcolor="white" text="black" link="blue" vlink="#204080" 12 alink="#204080"> 13<!-- ==================== NAVIGATION BAR ==================== --> 14<table class="navbar" border="0" width="100%" cellpadding="0" 15 bgcolor="#a0c0ff" cellspacing="0"> 16 <tr valign="middle"> 17 <!-- Home link --> 18 <th> <a 19 href="googleapiclient-module.html">Home</a> </th> 20 21 <!-- Tree link --> 22 <th> <a 23 href="module-tree.html">Trees</a> </th> 24 25 <!-- Index link --> 26 <th> <a 27 href="identifier-index.html">Indices</a> </th> 28 29 <!-- Help link --> 30 <th> <a 31 href="help.html">Help</a> </th> 32 33 <th class="navbar" width="100%"></th> 34 </tr> 35</table> 36<table width="100%" cellpadding="0" cellspacing="0"> 37 <tr valign="top"> 38 <td width="100%"> 39 <span class="breadcrumbs"> 40 <a href="googleapiclient-module.html">Package googleapiclient</a> :: 41 <a href="googleapiclient.errors-module.html">Module errors</a> :: 42 Class BatchError 43 </span> 44 </td> 45 <td> 46 <table cellpadding="0" cellspacing="0"> 47 <!-- hide/show private --> 48 <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink" 49 onclick="toggle_private();">hide private</a>]</span></td></tr> 50 <tr><td align="right"><span class="options" 51 >[<a href="frames.html" target="_top">frames</a 52 >] | <a href="googleapiclient.errors.BatchError-class.html" 53 target="_top">no frames</a>]</span></td></tr> 54 </table> 55 </td> 56 </tr> 57</table> 58<!-- ==================== CLASS DESCRIPTION ==================== --> 59<h1 class="epydoc">Class BatchError</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.errors-pysrc.html#BatchError">source code</a></span></p> 60<center> 61<center> <map id="uml_class_diagram_for_googleap_10" name="uml_class_diagram_for_googleap_10"> 62<area shape="rect" id="node1_14" href="googleapiclient.errors.BatchError-class.html#__init__" title="x.__init__(...) initializes x; see help(type(x)) for signature" alt="" coords="18,492,307,512"/> 63<area shape="rect" id="node1_15" href="googleapiclient.errors.BatchError-class.html#__repr__" title="str(x)" alt="" coords="18,512,307,532"/> 64<area shape="rect" id="node1_16" href="googleapiclient.errors.BatchError-class.html#__str__" title="str(x)" alt="" coords="18,532,307,552"/> 65<area shape="rect" id="node1" href="googleapiclient.errors.BatchError-class.html" title="Error occured during batch operations." alt="" coords="5,460,319,559"/> 66<area shape="rect" id="node2" href="googleapiclient.errors.HttpError-class.html" title="HTTP data was invalid or unexpected." alt="" coords="125,397,202,441"/> 67<area shape="rect" id="node3_17" href="javascript:void(0);" title="exceptions.BaseException.args" alt="" coords="85,30,241,50"/> 68<area shape="rect" id="node3_18" href="javascript:void(0);" title="exceptions.BaseException.message" alt="" coords="85,50,241,70"/> 69<area shape="rect" id="node3_19" href="javascript:void(0);" title="x.__delattr__('name') <==> del x.name" alt="" coords="85,73,241,93"/> 70<area shape="rect" id="node3_20" href="javascript:void(0);" title="x.__getattribute__('name') <==> x.name" alt="" coords="85,93,241,113"/> 71<area shape="rect" id="node3_21" href="javascript:void(0);" title="x[y]" alt="" coords="85,113,241,133"/> 72<area shape="rect" id="node3_22" href="javascript:void(0);" title="x[i:j]" alt="" coords="85,133,241,153"/> 73<area shape="rect" id="node3_23" href="javascript:void(0);" title="helper for pickle" alt="" coords="85,153,241,173"/> 74<area shape="rect" id="node3_24" href="javascript:void(0);" title="x.__setattr__('name', value) <==> x.name = value" alt="" coords="85,173,241,193"/> 75<area shape="rect" id="node3_25" href="javascript:void(0);" title="exceptions.BaseException.__setstate__" alt="" coords="85,193,241,213"/> 76<area shape="rect" id="node3_26" href="javascript:void(0);" title="exceptions.BaseException.__unicode__" alt="" coords="85,213,241,233"/> 77<area shape="rect" id="node3" href="javascript:void(0);" title="Common base class for all exceptions" alt="" coords="72,5,252,239"/> 78<area shape="rect" id="node5_27" href="javascript:void(0);" title="exceptions.Exception.__new__" alt="" coords="101,289,226,309"/> 79<area shape="rect" id="node5" href="javascript:void(0);" title="Common base class for all non-exit exceptions." alt="" coords="89,257,238,316"/> 80<area shape="rect" id="node4" href="googleapiclient.errors.Error-class.html" title="Base error for this module." alt="" coords="137,335,190,379"/> 81</map> 82 <img src="uml_class_diagram_for_googleap_10.gif" alt='' usemap="#uml_class_diagram_for_googleap_10" ismap="ismap" class="graph-without-title" /> 83</center> 84</center> 85<hr /> 86<pre class="literalblock"> 87Error occured during batch operations. 88 89</pre> 90 91<!-- ==================== INSTANCE METHODS ==================== --> 92<a name="section-InstanceMethods"></a> 93<table class="summary" border="1" cellpadding="3" 94 cellspacing="0" width="100%" bgcolor="white"> 95<tr bgcolor="#70b0f0" class="table-header"> 96 <td colspan="2" class="table-header"> 97 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 98 <tr valign="top"> 99 <td align="left"><span class="table-header">Instance Methods</span></td> 100 <td align="right" valign="top" 101 ><span class="options">[<a href="#section-InstanceMethods" 102 class="privatelink" onclick="toggle_private();" 103 >hide private</a>]</span></td> 104 </tr> 105 </table> 106 </td> 107</tr> 108<tr> 109 <td width="15%" align="right" valign="top" class="summary"> 110 <span class="summary-type"> </span> 111 </td><td class="summary"> 112 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 113 <tr> 114 <td><span class="summary-sig"><a href="googleapiclient.errors.BatchError-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>, 115 <span class="summary-sig-arg">reason</span>, 116 <span class="summary-sig-arg">resp</span>=<span class="summary-sig-default">None</span>, 117 <span class="summary-sig-arg">content</span>=<span class="summary-sig-default">None</span>)</span><br /> 118 x.__init__(...) initializes x; see help(type(x)) for signature</td> 119 <td align="right" valign="top"> 120 <span class="codelink"><a href="googleapiclient.errors-pysrc.html#BatchError.__init__">source code</a></span> 121 122 </td> 123 </tr> 124 </table> 125 126 </td> 127 </tr> 128<tr> 129 <td width="15%" align="right" valign="top" class="summary"> 130 <span class="summary-type"> </span> 131 </td><td class="summary"> 132 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 133 <tr> 134 <td><span class="summary-sig"><a href="googleapiclient.errors.BatchError-class.html#__repr__" class="summary-sig-name">__repr__</a>(<span class="summary-sig-arg">self</span>)</span><br /> 135 str(x)</td> 136 <td align="right" valign="top"> 137 <span class="codelink"><a href="googleapiclient.errors-pysrc.html#BatchError.__repr__">source code</a></span> 138 139 </td> 140 </tr> 141 </table> 142 143 </td> 144 </tr> 145<tr> 146 <td width="15%" align="right" valign="top" class="summary"> 147 <span class="summary-type"> </span> 148 </td><td class="summary"> 149 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 150 <tr> 151 <td><span class="summary-sig"><a href="googleapiclient.errors.BatchError-class.html#__str__" class="summary-sig-name">__str__</a>(<span class="summary-sig-arg">self</span>)</span><br /> 152 str(x)</td> 153 <td align="right" valign="top"> 154 <span class="codelink"><a href="googleapiclient.errors-pysrc.html#BatchError.__repr__">source code</a></span> 155 156 </td> 157 </tr> 158 </table> 159 160 </td> 161 </tr> 162 <tr> 163 <td colspan="2" class="summary"> 164 <div class="private"> <p class="indent-wrapped-lines"><b>Inherited from <code><a href="googleapiclient.errors.HttpError-class.html">HttpError</a></code></b> (private): 165 <code><a href="googleapiclient.errors.HttpError-class.html#_get_reason" onclick="show_private();">_get_reason</a></code> 166 </p></div> 167 <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.Exception</code></b>: 168 <code>__new__</code> 169 </p> 170 <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.BaseException</code></b>: 171 <code>__delattr__</code>, 172 <code>__getattribute__</code>, 173 <code>__getitem__</code>, 174 <code>__getslice__</code>, 175 <code>__reduce__</code>, 176 <code>__setattr__</code>, 177 <code>__setstate__</code>, 178 <code>__unicode__</code> 179 </p> 180 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: 181 <code>__format__</code>, 182 <code>__hash__</code>, 183 <code>__reduce_ex__</code>, 184 <code>__sizeof__</code>, 185 <code>__subclasshook__</code> 186 </p> 187 </td> 188 </tr> 189</table> 190<!-- ==================== PROPERTIES ==================== --> 191<a name="section-Properties"></a> 192<table class="summary" border="1" cellpadding="3" 193 cellspacing="0" width="100%" bgcolor="white"> 194<tr bgcolor="#70b0f0" class="table-header"> 195 <td colspan="2" class="table-header"> 196 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 197 <tr valign="top"> 198 <td align="left"><span class="table-header">Properties</span></td> 199 <td align="right" valign="top" 200 ><span class="options">[<a href="#section-Properties" 201 class="privatelink" onclick="toggle_private();" 202 >hide private</a>]</span></td> 203 </tr> 204 </table> 205 </td> 206</tr> 207 <tr> 208 <td colspan="2" class="summary"> 209 <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.BaseException</code></b>: 210 <code>args</code>, 211 <code>message</code> 212 </p> 213 <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>: 214 <code>__class__</code> 215 </p> 216 </td> 217 </tr> 218</table> 219<!-- ==================== METHOD DETAILS ==================== --> 220<a name="section-MethodDetails"></a> 221<table class="details" border="1" cellpadding="3" 222 cellspacing="0" width="100%" bgcolor="white"> 223<tr bgcolor="#70b0f0" class="table-header"> 224 <td colspan="2" class="table-header"> 225 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 226 <tr valign="top"> 227 <td align="left"><span class="table-header">Method Details</span></td> 228 <td align="right" valign="top" 229 ><span class="options">[<a href="#section-MethodDetails" 230 class="privatelink" onclick="toggle_private();" 231 >hide private</a>]</span></td> 232 </tr> 233 </table> 234 </td> 235</tr> 236</table> 237<a name="__init__"></a> 238<div> 239<table class="details" border="1" cellpadding="3" 240 cellspacing="0" width="100%" bgcolor="white"> 241<tr><td> 242 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 243 <tr valign="top"><td> 244 <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>, 245 <span class="sig-arg">reason</span>, 246 <span class="sig-arg">resp</span>=<span class="sig-default">None</span>, 247 <span class="sig-arg">content</span>=<span class="sig-default">None</span>)</span> 248 <br /><em class="fname">(Constructor)</em> 249 </h3> 250 </td><td align="right" valign="top" 251 ><span class="codelink"><a href="googleapiclient.errors-pysrc.html#BatchError.__init__">source code</a></span> 252 </td> 253 </tr></table> 254 255 <pre class="literalblock"> 256x.__init__(...) initializes x; see help(type(x)) for signature 257 258</pre> 259 <dl class="fields"> 260 <dt>Decorators:</dt> 261 <dd><ul class="nomargin-top"> 262 <li><code>@util.positional(2)</code></li> 263 </ul></dd> 264 <dt>Overrides: 265 object.__init__ 266 <dd><em class="note">(inherited documentation)</em></dd> 267 </dt> 268 </dl> 269</td></tr></table> 270</div> 271<a name="__repr__"></a> 272<div> 273<table class="details" border="1" cellpadding="3" 274 cellspacing="0" width="100%" bgcolor="white"> 275<tr><td> 276 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 277 <tr valign="top"><td> 278 <h3 class="epydoc"><span class="sig"><span class="sig-name">__repr__</span>(<span class="sig-arg">self</span>)</span> 279 <br /><em class="fname">(Representation operator)</em> 280 </h3> 281 </td><td align="right" valign="top" 282 ><span class="codelink"><a href="googleapiclient.errors-pysrc.html#BatchError.__repr__">source code</a></span> 283 </td> 284 </tr></table> 285 286 <pre class="literalblock"> 287str(x) 288 289</pre> 290 <dl class="fields"> 291 <dt>Overrides: 292 object.__repr__ 293 <dd><em class="note">(inherited documentation)</em></dd> 294 </dt> 295 </dl> 296</td></tr></table> 297</div> 298<a name="__str__"></a> 299<div> 300<table class="details" border="1" cellpadding="3" 301 cellspacing="0" width="100%" bgcolor="white"> 302<tr><td> 303 <table width="100%" cellpadding="0" cellspacing="0" border="0"> 304 <tr valign="top"><td> 305 <h3 class="epydoc"><span class="sig"><span class="sig-name">__str__</span>(<span class="sig-arg">self</span>)</span> 306 <br /><em class="fname">(Informal representation operator)</em> 307 </h3> 308 </td><td align="right" valign="top" 309 ><span class="codelink"><a href="googleapiclient.errors-pysrc.html#BatchError.__repr__">source code</a></span> 310 </td> 311 </tr></table> 312 313 <pre class="literalblock"> 314str(x) 315 316</pre> 317 <dl class="fields"> 318 <dt>Overrides: 319 object.__str__ 320 <dd><em class="note">(inherited documentation)</em></dd> 321 </dt> 322 </dl> 323</td></tr></table> 324</div> 325<br /> 326<!-- ==================== NAVIGATION BAR ==================== --> 327<table class="navbar" border="0" width="100%" cellpadding="0" 328 bgcolor="#a0c0ff" cellspacing="0"> 329 <tr valign="middle"> 330 <!-- Home link --> 331 <th> <a 332 href="googleapiclient-module.html">Home</a> </th> 333 334 <!-- Tree link --> 335 <th> <a 336 href="module-tree.html">Trees</a> </th> 337 338 <!-- Index link --> 339 <th> <a 340 href="identifier-index.html">Indices</a> </th> 341 342 <!-- Help link --> 343 <th> <a 344 href="help.html">Help</a> </th> 345 346 <th class="navbar" width="100%"></th> 347 </tr> 348</table> 349<table border="0" cellpadding="0" cellspacing="0" width="100%%"> 350 <tr> 351 <td align="left" class="footer"> 352 Generated by Epydoc 3.0.1 on Fri Jun 14 15:57:27 2019 353 </td> 354 <td align="right" class="footer"> 355 <a target="mainFrame" href="http://epydoc.sourceforge.net" 356 >http://epydoc.sourceforge.net</a> 357 </td> 358 </tr> 359</table> 360 361<script type="text/javascript"> 362 <!-- 363 // Private objects are initially displayed (because if 364 // javascript is turned off then we want them to be 365 // visible); but by default, we want to hide them. So hide 366 // them unless we have a cookie that says to show them. 367 checkCookie(); 368 // --> 369</script> 370</body> 371</html> 372