Home | History | Annotate | Download | only in epy
      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.UnexpectedBodyError</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>&nbsp;&nbsp;&nbsp;<a
     19         href="googleapiclient-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
     20 
     21   <!-- Tree link -->
     22       <th>&nbsp;&nbsp;&nbsp;<a
     23         href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
     24 
     25   <!-- Index link -->
     26       <th>&nbsp;&nbsp;&nbsp;<a
     27         href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
     28 
     29   <!-- Help link -->
     30       <th>&nbsp;&nbsp;&nbsp;<a
     31         href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</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&nbsp;googleapiclient</a> ::
     41         <a href="googleapiclient.errors-module.html">Module&nbsp;errors</a> ::
     42         Class&nbsp;UnexpectedBodyError
     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&nbsp;private</a>]</span></td></tr>
     50         <tr><td align="right"><span class="options"
     51             >[<a href="frames.html" target="_top">frames</a
     52             >]&nbsp;|&nbsp;<a href="googleapiclient.errors.UnexpectedBodyError-class.html"
     53             target="_top">no&nbsp;frames</a>]</span></td></tr>
     54       </table>
     55     </td>
     56   </tr>
     57 </table>
     58 <!-- ==================== CLASS DESCRIPTION ==================== -->
     59 <h1 class="epydoc">Class UnexpectedBodyError</h1><p class="nomargin-top"><span class="codelink"><a href="googleapiclient.errors-pysrc.html#UnexpectedBodyError">source&nbsp;code</a></span></p>
     60 <center>
     61 
     62 </center>
     63 <hr />
     64 <pre class="literalblock">
     65 Exception raised by RequestMockBuilder on unexpected bodies.
     66 
     67 </pre>
     68 
     69 <!-- ==================== INSTANCE METHODS ==================== -->
     70 <a name="section-InstanceMethods"></a>
     71 <table class="summary" border="1" cellpadding="3"
     72        cellspacing="0" width="100%" bgcolor="white">
     73 <tr bgcolor="#70b0f0" class="table-header">
     74   <td colspan="2" class="table-header">
     75     <table border="0" cellpadding="0" cellspacing="0" width="100%">
     76       <tr valign="top">
     77         <td align="left"><span class="table-header">Instance Methods</span></td>
     78         <td align="right" valign="top"
     79          ><span class="options">[<a href="#section-InstanceMethods"
     80          class="privatelink" onclick="toggle_private();"
     81          >hide private</a>]</span></td>
     82       </tr>
     83     </table>
     84   </td>
     85 </tr>
     86 <tr>
     87     <td width="15%" align="right" valign="top" class="summary">
     88       <span class="summary-type">&nbsp;</span>
     89     </td><td class="summary">
     90       <table width="100%" cellpadding="0" cellspacing="0" border="0">
     91         <tr>
     92           <td><span class="summary-sig"><a href="googleapiclient.errors.UnexpectedBodyError-class.html#__init__" class="summary-sig-name">__init__</a>(<span class="summary-sig-arg">self</span>,
     93         <span class="summary-sig-arg">expected</span>,
     94         <span class="summary-sig-arg">provided</span>)</span><br />
     95       Constructor for an UnexpectedMethodError.</td>
     96           <td align="right" valign="top">
     97             <span class="codelink"><a href="googleapiclient.errors-pysrc.html#UnexpectedBodyError.__init__">source&nbsp;code</a></span>
     98             
     99           </td>
    100         </tr>
    101       </table>
    102       
    103     </td>
    104   </tr>
    105   <tr>
    106     <td colspan="2" class="summary">
    107     <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.Exception</code></b>:
    108       <code>__new__</code>
    109       </p>
    110     <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.BaseException</code></b>:
    111       <code>__delattr__</code>,
    112       <code>__getattribute__</code>,
    113       <code>__getitem__</code>,
    114       <code>__getslice__</code>,
    115       <code>__reduce__</code>,
    116       <code>__repr__</code>,
    117       <code>__setattr__</code>,
    118       <code>__setstate__</code>,
    119       <code>__str__</code>,
    120       <code>__unicode__</code>
    121       </p>
    122     <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
    123       <code>__format__</code>,
    124       <code>__hash__</code>,
    125       <code>__reduce_ex__</code>,
    126       <code>__sizeof__</code>,
    127       <code>__subclasshook__</code>
    128       </p>
    129     </td>
    130   </tr>
    131 </table>
    132 <!-- ==================== PROPERTIES ==================== -->
    133 <a name="section-Properties"></a>
    134 <table class="summary" border="1" cellpadding="3"
    135        cellspacing="0" width="100%" bgcolor="white">
    136 <tr bgcolor="#70b0f0" class="table-header">
    137   <td colspan="2" class="table-header">
    138     <table border="0" cellpadding="0" cellspacing="0" width="100%">
    139       <tr valign="top">
    140         <td align="left"><span class="table-header">Properties</span></td>
    141         <td align="right" valign="top"
    142          ><span class="options">[<a href="#section-Properties"
    143          class="privatelink" onclick="toggle_private();"
    144          >hide private</a>]</span></td>
    145       </tr>
    146     </table>
    147   </td>
    148 </tr>
    149   <tr>
    150     <td colspan="2" class="summary">
    151     <p class="indent-wrapped-lines"><b>Inherited from <code>exceptions.BaseException</code></b>:
    152       <code>args</code>,
    153       <code>message</code>
    154       </p>
    155     <p class="indent-wrapped-lines"><b>Inherited from <code>object</code></b>:
    156       <code>__class__</code>
    157       </p>
    158     </td>
    159   </tr>
    160 </table>
    161 <!-- ==================== METHOD DETAILS ==================== -->
    162 <a name="section-MethodDetails"></a>
    163 <table class="details" border="1" cellpadding="3"
    164        cellspacing="0" width="100%" bgcolor="white">
    165 <tr bgcolor="#70b0f0" class="table-header">
    166   <td colspan="2" class="table-header">
    167     <table border="0" cellpadding="0" cellspacing="0" width="100%">
    168       <tr valign="top">
    169         <td align="left"><span class="table-header">Method Details</span></td>
    170         <td align="right" valign="top"
    171          ><span class="options">[<a href="#section-MethodDetails"
    172          class="privatelink" onclick="toggle_private();"
    173          >hide private</a>]</span></td>
    174       </tr>
    175     </table>
    176   </td>
    177 </tr>
    178 </table>
    179 <a name="__init__"></a>
    180 <div>
    181 <table class="details" border="1" cellpadding="3"
    182        cellspacing="0" width="100%" bgcolor="white">
    183 <tr><td>
    184   <table width="100%" cellpadding="0" cellspacing="0" border="0">
    185   <tr valign="top"><td>
    186   <h3 class="epydoc"><span class="sig"><span class="sig-name">__init__</span>(<span class="sig-arg">self</span>,
    187         <span class="sig-arg">expected</span>,
    188         <span class="sig-arg">provided</span>)</span>
    189     <br /><em class="fname">(Constructor)</em>
    190   </h3>
    191   </td><td align="right" valign="top"
    192     ><span class="codelink"><a href="googleapiclient.errors-pysrc.html#UnexpectedBodyError.__init__">source&nbsp;code</a></span>&nbsp;
    193     </td>
    194   </tr></table>
    195   
    196   <pre class="literalblock">
    197 Constructor for an UnexpectedMethodError.
    198 
    199 </pre>
    200   <dl class="fields">
    201     <dt>Overrides:
    202         object.__init__
    203     </dt>
    204   </dl>
    205 </td></tr></table>
    206 </div>
    207 <br />
    208 <!-- ==================== NAVIGATION BAR ==================== -->
    209 <table class="navbar" border="0" width="100%" cellpadding="0"
    210        bgcolor="#a0c0ff" cellspacing="0">
    211   <tr valign="middle">
    212   <!-- Home link -->
    213       <th>&nbsp;&nbsp;&nbsp;<a
    214         href="googleapiclient-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>
    215 
    216   <!-- Tree link -->
    217       <th>&nbsp;&nbsp;&nbsp;<a
    218         href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>
    219 
    220   <!-- Index link -->
    221       <th>&nbsp;&nbsp;&nbsp;<a
    222         href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>
    223 
    224   <!-- Help link -->
    225       <th>&nbsp;&nbsp;&nbsp;<a
    226         href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>
    227 
    228       <th class="navbar" width="100%"></th>
    229   </tr>
    230 </table>
    231 <table border="0" cellpadding="0" cellspacing="0" width="100%%">
    232   <tr>
    233     <td align="left" class="footer">
    234     Generated by Epydoc 3.0.1 on Mon Jun  5 13:38:39 2017
    235     </td>
    236     <td align="right" class="footer">
    237       <a target="mainFrame" href="http://epydoc.sourceforge.net"
    238         >http://epydoc.sourceforge.net</a>
    239     </td>
    240   </tr>
    241 </table>
    242 
    243 <script type="text/javascript">
    244   <!--
    245   // Private objects are initially displayed (because if
    246   // javascript is turned off then we want them to be
    247   // visible); but by default, we want to hide them.  So hide
    248   // them unless we have a cookie that says to show them.
    249   checkCookie();
    250   // -->
    251 </script>
    252 </body>
    253 </html>
    254