blob: cf7200f21eafa559a1bbc3f83953ffae7bb0d8aa [file] [log] [blame]
Joe Gregorio30dfdc32010-12-09 16:34:22 -05001
2<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
3<html><head><title>Python: module apiclient.errors</title>
4</head><body bgcolor="#f0f0f8">
5
6<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
7<tr bgcolor="#7799ee">
8<td valign=bottom>&nbsp;<br>
9<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong><a href="apiclient.html"><font color="#ffffff">apiclient</font></a>.errors</strong></big></big></font></td
10><td align=right valign=bottom
Joe Gregorio02503852011-08-31 09:07:55 -040011><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/jcgregorio/projects/google-api-python-client/apiclient/errors.py">/home/jcgregorio/projects/google-api-python-client/apiclient/errors.py</a></font></td></tr></table>
Joe Gregorio30dfdc32010-12-09 16:34:22 -050012 <p><tt>Errors&nbsp;for&nbsp;the&nbsp;library.<br>
13&nbsp;<br>
14All&nbsp;exceptions&nbsp;defined&nbsp;by&nbsp;the&nbsp;library<br>
15should&nbsp;be&nbsp;defined&nbsp;in&nbsp;this&nbsp;file.</tt></p>
16<p>
17<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
Joe Gregorio6e537032011-02-09 23:04:26 -050018<tr bgcolor="#aa55cc">
19<td colspan=3 valign=bottom>&nbsp;<br>
20<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
21
22<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
23<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="simplejson.html">simplejson</a><br>
24</td><td width="25%" valign=top></td><td width="25%" valign=top></td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
25<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
Joe Gregorio30dfdc32010-12-09 16:34:22 -050026<tr bgcolor="#ee77aa">
27<td colspan=3 valign=bottom>&nbsp;<br>
28<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
29
30<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
31<td width="100%"><dl>
32<dt><font face="helvetica, arial"><a href="exceptions.html#Exception">exceptions.Exception</a>(<a href="exceptions.html#BaseException">exceptions.BaseException</a>)
33</font></dt><dd>
34<dl>
35<dt><font face="helvetica, arial"><a href="apiclient.errors.html#Error">Error</a>
36</font></dt><dd>
37<dl>
38<dt><font face="helvetica, arial"><a href="apiclient.errors.html#HttpError">HttpError</a>
Joe Gregorio49396552011-03-08 10:39:00 -050039</font></dt><dt><font face="helvetica, arial"><a href="apiclient.errors.html#InvalidJsonError">InvalidJsonError</a>
Joe Gregoriob9e63ff2011-06-30 12:38:10 -040040</font></dt><dt><font face="helvetica, arial"><a href="apiclient.errors.html#MediaUploadSizeError">MediaUploadSizeError</a>
41</font></dt><dt><font face="helvetica, arial"><a href="apiclient.errors.html#UnacceptableMimeTypeError">UnacceptableMimeTypeError</a>
Joe Gregorio30dfdc32010-12-09 16:34:22 -050042</font></dt><dt><font face="helvetica, arial"><a href="apiclient.errors.html#UnknownLinkType">UnknownLinkType</a>
43</font></dt></dl>
44</dd>
45</dl>
46</dd>
47</dl>
48 <p>
49<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
50<tr bgcolor="#ffc8d8">
51<td colspan=3 valign=bottom>&nbsp;<br>
52<font color="#000000" face="helvetica, arial"><a name="Error">class <strong>Error</strong></a>(<a href="exceptions.html#Exception">exceptions.Exception</a>)</font></td></tr>
53
54<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
55<td colspan=2><tt>Base&nbsp;error&nbsp;for&nbsp;this&nbsp;module.<br>&nbsp;</tt></td></tr>
56<tr><td>&nbsp;</td>
57<td width="100%"><dl><dt>Method resolution order:</dt>
58<dd><a href="apiclient.errors.html#Error">Error</a></dd>
59<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
60<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
61<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
62</dl>
63<hr>
64Data descriptors defined here:<br>
65<dl><dt><strong>__weakref__</strong></dt>
66<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
67</dl>
68<hr>
69Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
Joe Gregorio90e7ec22011-07-06 10:09:20 -040070<dl><dt><a name="Error-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__init__">__init__</a>(...)&nbsp;initializes&nbsp;x;&nbsp;see&nbsp;x.__class__.__doc__&nbsp;for&nbsp;signature</tt></dd></dl>
Joe Gregorio30dfdc32010-12-09 16:34:22 -050071
72<hr>
73Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
74<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#Error-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;object&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>
75
76<hr>
77Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
78<dl><dt><a name="Error-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>
79
80<dl><dt><a name="Error-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>
81
82<dl><dt><a name="Error-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>
83
84<dl><dt><a name="Error-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
85&nbsp;<br>
86Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>
87
88<dl><dt><a name="Error-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>
89
90<dl><dt><a name="Error-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>
91
92<dl><dt><a name="Error-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>
93
94<dl><dt><a name="Error-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>
95
96<dl><dt><a name="Error-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__str__">__str__</a>()&nbsp;&lt;==&gt;&nbsp;str(x)</tt></dd></dl>
97
98<dl><dt><a name="Error-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl>
99
100<hr>
101Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
102<dl><dt><strong>__dict__</strong></dt>
103</dl>
104<dl><dt><strong>args</strong></dt>
105</dl>
106<dl><dt><strong>message</strong></dt>
107</dl>
108</td></tr></table> <p>
109<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
110<tr bgcolor="#ffc8d8">
111<td colspan=3 valign=bottom>&nbsp;<br>
112<font color="#000000" face="helvetica, arial"><a name="HttpError">class <strong>HttpError</strong></a>(<a href="apiclient.errors.html#Error">Error</a>)</font></td></tr>
113
114<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
115<td colspan=2><tt>HTTP&nbsp;data&nbsp;was&nbsp;invalid&nbsp;or&nbsp;unexpected.<br>&nbsp;</tt></td></tr>
116<tr><td>&nbsp;</td>
117<td width="100%"><dl><dt>Method resolution order:</dt>
118<dd><a href="apiclient.errors.html#HttpError">HttpError</a></dd>
119<dd><a href="apiclient.errors.html#Error">Error</a></dd>
120<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
121<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
122<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
123</dl>
124<hr>
125Methods defined here:<br>
Joe Gregorio49396552011-03-08 10:39:00 -0500126<dl><dt><a name="HttpError-__init__"><strong>__init__</strong></a>(self, resp, content, uri<font color="#909090">=None</font>)</dt></dl>
Joe Gregorio30dfdc32010-12-09 16:34:22 -0500127
Joe Gregorio6e537032011-02-09 23:04:26 -0500128<dl><dt><a name="HttpError-__repr__"><strong>__repr__</strong></a>(self)</dt></dl>
129
130<dl><dt><a name="HttpError-__str__"><strong>__str__</strong></a> = <a href="#HttpError-__repr__">__repr__</a>(self)</dt></dl>
Joe Gregorio30dfdc32010-12-09 16:34:22 -0500131
132<hr>
133Data descriptors inherited from <a href="apiclient.errors.html#Error">Error</a>:<br>
134<dl><dt><strong>__weakref__</strong></dt>
135<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
136</dl>
137<hr>
138Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
139<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#HttpError-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;object&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>
140
141<hr>
142Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
143<dl><dt><a name="HttpError-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#HttpError-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>
144
145<dl><dt><a name="HttpError-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#HttpError-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>
146
147<dl><dt><a name="HttpError-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#HttpError-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>
148
149<dl><dt><a name="HttpError-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#HttpError-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
150&nbsp;<br>
151Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>
152
153<dl><dt><a name="HttpError-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>
154
Joe Gregorio30dfdc32010-12-09 16:34:22 -0500155<dl><dt><a name="HttpError-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#HttpError-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>
156
157<dl><dt><a name="HttpError-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>
158
159<dl><dt><a name="HttpError-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl>
160
161<hr>
162Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
163<dl><dt><strong>__dict__</strong></dt>
164</dl>
165<dl><dt><strong>args</strong></dt>
166</dl>
167<dl><dt><strong>message</strong></dt>
168</dl>
169</td></tr></table> <p>
170<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
171<tr bgcolor="#ffc8d8">
172<td colspan=3 valign=bottom>&nbsp;<br>
Joe Gregorio49396552011-03-08 10:39:00 -0500173<font color="#000000" face="helvetica, arial"><a name="InvalidJsonError">class <strong>InvalidJsonError</strong></a>(<a href="apiclient.errors.html#Error">Error</a>)</font></td></tr>
174
175<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
176<td colspan=2><tt>The&nbsp;JSON&nbsp;returned&nbsp;could&nbsp;not&nbsp;be&nbsp;parsed.<br>&nbsp;</tt></td></tr>
177<tr><td>&nbsp;</td>
178<td width="100%"><dl><dt>Method resolution order:</dt>
179<dd><a href="apiclient.errors.html#InvalidJsonError">InvalidJsonError</a></dd>
180<dd><a href="apiclient.errors.html#Error">Error</a></dd>
181<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
182<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
183<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
184</dl>
185<hr>
186Data descriptors inherited from <a href="apiclient.errors.html#Error">Error</a>:<br>
187<dl><dt><strong>__weakref__</strong></dt>
188<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
189</dl>
190<hr>
191Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
Joe Gregorio90e7ec22011-07-06 10:09:20 -0400192<dl><dt><a name="InvalidJsonError-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#InvalidJsonError-__init__">__init__</a>(...)&nbsp;initializes&nbsp;x;&nbsp;see&nbsp;x.__class__.__doc__&nbsp;for&nbsp;signature</tt></dd></dl>
Joe Gregorio49396552011-03-08 10:39:00 -0500193
194<hr>
195Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
196<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#InvalidJsonError-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;object&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>
197
198<hr>
199Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
200<dl><dt><a name="InvalidJsonError-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#InvalidJsonError-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>
201
202<dl><dt><a name="InvalidJsonError-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#InvalidJsonError-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>
203
204<dl><dt><a name="InvalidJsonError-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#InvalidJsonError-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>
205
206<dl><dt><a name="InvalidJsonError-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#InvalidJsonError-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
207&nbsp;<br>
208Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>
209
210<dl><dt><a name="InvalidJsonError-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>
211
212<dl><dt><a name="InvalidJsonError-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#InvalidJsonError-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>
213
214<dl><dt><a name="InvalidJsonError-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#InvalidJsonError-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>
215
216<dl><dt><a name="InvalidJsonError-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>
217
218<dl><dt><a name="InvalidJsonError-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#InvalidJsonError-__str__">__str__</a>()&nbsp;&lt;==&gt;&nbsp;str(x)</tt></dd></dl>
219
220<dl><dt><a name="InvalidJsonError-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl>
221
222<hr>
223Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
224<dl><dt><strong>__dict__</strong></dt>
225</dl>
226<dl><dt><strong>args</strong></dt>
227</dl>
228<dl><dt><strong>message</strong></dt>
229</dl>
230</td></tr></table> <p>
231<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
232<tr bgcolor="#ffc8d8">
233<td colspan=3 valign=bottom>&nbsp;<br>
Joe Gregoriob9e63ff2011-06-30 12:38:10 -0400234<font color="#000000" face="helvetica, arial"><a name="MediaUploadSizeError">class <strong>MediaUploadSizeError</strong></a>(<a href="apiclient.errors.html#Error">Error</a>)</font></td></tr>
235
236<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
237<td colspan=2><tt>Media&nbsp;is&nbsp;larger&nbsp;than&nbsp;the&nbsp;method&nbsp;can&nbsp;accept.<br>&nbsp;</tt></td></tr>
238<tr><td>&nbsp;</td>
239<td width="100%"><dl><dt>Method resolution order:</dt>
240<dd><a href="apiclient.errors.html#MediaUploadSizeError">MediaUploadSizeError</a></dd>
241<dd><a href="apiclient.errors.html#Error">Error</a></dd>
242<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
243<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
244<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
245</dl>
246<hr>
247Data descriptors inherited from <a href="apiclient.errors.html#Error">Error</a>:<br>
248<dl><dt><strong>__weakref__</strong></dt>
249<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
250</dl>
251<hr>
252Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
Joe Gregorio90e7ec22011-07-06 10:09:20 -0400253<dl><dt><a name="MediaUploadSizeError-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#MediaUploadSizeError-__init__">__init__</a>(...)&nbsp;initializes&nbsp;x;&nbsp;see&nbsp;x.__class__.__doc__&nbsp;for&nbsp;signature</tt></dd></dl>
Joe Gregoriob9e63ff2011-06-30 12:38:10 -0400254
255<hr>
256Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
257<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#MediaUploadSizeError-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;object&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>
258
259<hr>
260Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
261<dl><dt><a name="MediaUploadSizeError-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#MediaUploadSizeError-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>
262
263<dl><dt><a name="MediaUploadSizeError-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#MediaUploadSizeError-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>
264
265<dl><dt><a name="MediaUploadSizeError-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#MediaUploadSizeError-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>
266
267<dl><dt><a name="MediaUploadSizeError-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#MediaUploadSizeError-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
268&nbsp;<br>
269Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>
270
271<dl><dt><a name="MediaUploadSizeError-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>
272
273<dl><dt><a name="MediaUploadSizeError-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#MediaUploadSizeError-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>
274
275<dl><dt><a name="MediaUploadSizeError-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#MediaUploadSizeError-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>
276
277<dl><dt><a name="MediaUploadSizeError-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>
278
279<dl><dt><a name="MediaUploadSizeError-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#MediaUploadSizeError-__str__">__str__</a>()&nbsp;&lt;==&gt;&nbsp;str(x)</tt></dd></dl>
280
281<dl><dt><a name="MediaUploadSizeError-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl>
282
283<hr>
284Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
285<dl><dt><strong>__dict__</strong></dt>
286</dl>
287<dl><dt><strong>args</strong></dt>
288</dl>
289<dl><dt><strong>message</strong></dt>
290</dl>
291</td></tr></table> <p>
292<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
293<tr bgcolor="#ffc8d8">
294<td colspan=3 valign=bottom>&nbsp;<br>
295<font color="#000000" face="helvetica, arial"><a name="UnacceptableMimeTypeError">class <strong>UnacceptableMimeTypeError</strong></a>(<a href="apiclient.errors.html#Error">Error</a>)</font></td></tr>
296
297<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
298<td colspan=2><tt>That&nbsp;is&nbsp;an&nbsp;unacceptable&nbsp;mimetype&nbsp;for&nbsp;this&nbsp;operation.<br>&nbsp;</tt></td></tr>
299<tr><td>&nbsp;</td>
300<td width="100%"><dl><dt>Method resolution order:</dt>
301<dd><a href="apiclient.errors.html#UnacceptableMimeTypeError">UnacceptableMimeTypeError</a></dd>
302<dd><a href="apiclient.errors.html#Error">Error</a></dd>
303<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
304<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
305<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
306</dl>
307<hr>
308Data descriptors inherited from <a href="apiclient.errors.html#Error">Error</a>:<br>
309<dl><dt><strong>__weakref__</strong></dt>
310<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
311</dl>
312<hr>
313Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
Joe Gregorio90e7ec22011-07-06 10:09:20 -0400314<dl><dt><a name="UnacceptableMimeTypeError-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#UnacceptableMimeTypeError-__init__">__init__</a>(...)&nbsp;initializes&nbsp;x;&nbsp;see&nbsp;x.__class__.__doc__&nbsp;for&nbsp;signature</tt></dd></dl>
Joe Gregoriob9e63ff2011-06-30 12:38:10 -0400315
316<hr>
317Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
318<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#UnacceptableMimeTypeError-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;object&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>
319
320<hr>
321Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
322<dl><dt><a name="UnacceptableMimeTypeError-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#UnacceptableMimeTypeError-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>
323
324<dl><dt><a name="UnacceptableMimeTypeError-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#UnacceptableMimeTypeError-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>
325
326<dl><dt><a name="UnacceptableMimeTypeError-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#UnacceptableMimeTypeError-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>
327
328<dl><dt><a name="UnacceptableMimeTypeError-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#UnacceptableMimeTypeError-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
329&nbsp;<br>
330Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>
331
332<dl><dt><a name="UnacceptableMimeTypeError-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>
333
334<dl><dt><a name="UnacceptableMimeTypeError-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#UnacceptableMimeTypeError-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>
335
336<dl><dt><a name="UnacceptableMimeTypeError-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#UnacceptableMimeTypeError-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>
337
338<dl><dt><a name="UnacceptableMimeTypeError-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>
339
340<dl><dt><a name="UnacceptableMimeTypeError-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#UnacceptableMimeTypeError-__str__">__str__</a>()&nbsp;&lt;==&gt;&nbsp;str(x)</tt></dd></dl>
341
342<dl><dt><a name="UnacceptableMimeTypeError-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl>
343
344<hr>
345Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
346<dl><dt><strong>__dict__</strong></dt>
347</dl>
348<dl><dt><strong>args</strong></dt>
349</dl>
350<dl><dt><strong>message</strong></dt>
351</dl>
352</td></tr></table> <p>
353<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
354<tr bgcolor="#ffc8d8">
355<td colspan=3 valign=bottom>&nbsp;<br>
Joe Gregorio30dfdc32010-12-09 16:34:22 -0500356<font color="#000000" face="helvetica, arial"><a name="UnknownLinkType">class <strong>UnknownLinkType</strong></a>(<a href="apiclient.errors.html#Error">Error</a>)</font></td></tr>
357
358<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
359<td colspan=2><tt>Link&nbsp;type&nbsp;unknown&nbsp;or&nbsp;unexpected.<br>&nbsp;</tt></td></tr>
360<tr><td>&nbsp;</td>
361<td width="100%"><dl><dt>Method resolution order:</dt>
362<dd><a href="apiclient.errors.html#UnknownLinkType">UnknownLinkType</a></dd>
363<dd><a href="apiclient.errors.html#Error">Error</a></dd>
364<dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd>
365<dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd>
366<dd><a href="__builtin__.html#object">__builtin__.object</a></dd>
367</dl>
368<hr>
369Data descriptors inherited from <a href="apiclient.errors.html#Error">Error</a>:<br>
370<dl><dt><strong>__weakref__</strong></dt>
371<dd><tt>list&nbsp;of&nbsp;weak&nbsp;references&nbsp;to&nbsp;the&nbsp;object&nbsp;(if&nbsp;defined)</tt></dd>
372</dl>
373<hr>
374Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
Joe Gregorio90e7ec22011-07-06 10:09:20 -0400375<dl><dt><a name="UnknownLinkType-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#UnknownLinkType-__init__">__init__</a>(...)&nbsp;initializes&nbsp;x;&nbsp;see&nbsp;x.__class__.__doc__&nbsp;for&nbsp;signature</tt></dd></dl>
Joe Gregorio30dfdc32010-12-09 16:34:22 -0500376
377<hr>
378Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br>
379<dl><dt><strong>__new__</strong> = &lt;built-in method __new__ of type object&gt;<dd><tt>T.<a href="#UnknownLinkType-__new__">__new__</a>(S,&nbsp;...)&nbsp;-&gt;&nbsp;a&nbsp;new&nbsp;object&nbsp;with&nbsp;type&nbsp;S,&nbsp;a&nbsp;subtype&nbsp;of&nbsp;T</tt></dl>
380
381<hr>
382Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
383<dl><dt><a name="UnknownLinkType-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#UnknownLinkType-__delattr__">__delattr__</a>('name')&nbsp;&lt;==&gt;&nbsp;del&nbsp;x.name</tt></dd></dl>
384
385<dl><dt><a name="UnknownLinkType-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#UnknownLinkType-__getattribute__">__getattribute__</a>('name')&nbsp;&lt;==&gt;&nbsp;x.name</tt></dd></dl>
386
387<dl><dt><a name="UnknownLinkType-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#UnknownLinkType-__getitem__">__getitem__</a>(y)&nbsp;&lt;==&gt;&nbsp;x[y]</tt></dd></dl>
388
389<dl><dt><a name="UnknownLinkType-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#UnknownLinkType-__getslice__">__getslice__</a>(i,&nbsp;j)&nbsp;&lt;==&gt;&nbsp;x[i:j]<br>
390&nbsp;<br>
391Use&nbsp;of&nbsp;negative&nbsp;indices&nbsp;is&nbsp;not&nbsp;supported.</tt></dd></dl>
392
393<dl><dt><a name="UnknownLinkType-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl>
394
395<dl><dt><a name="UnknownLinkType-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#UnknownLinkType-__repr__">__repr__</a>()&nbsp;&lt;==&gt;&nbsp;repr(x)</tt></dd></dl>
396
397<dl><dt><a name="UnknownLinkType-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#UnknownLinkType-__setattr__">__setattr__</a>('name',&nbsp;value)&nbsp;&lt;==&gt;&nbsp;x.name&nbsp;=&nbsp;value</tt></dd></dl>
398
399<dl><dt><a name="UnknownLinkType-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl>
400
401<dl><dt><a name="UnknownLinkType-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#UnknownLinkType-__str__">__str__</a>()&nbsp;&lt;==&gt;&nbsp;str(x)</tt></dd></dl>
402
403<dl><dt><a name="UnknownLinkType-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl>
404
405<hr>
406Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br>
407<dl><dt><strong>__dict__</strong></dt>
408</dl>
409<dl><dt><strong>args</strong></dt>
410</dl>
411<dl><dt><strong>message</strong></dt>
412</dl>
413</td></tr></table></td></tr></table><p>
414<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
415<tr bgcolor="#55aa55">
416<td colspan=3 valign=bottom>&nbsp;<br>
417<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
418
419<tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
420<td width="100%"><strong>__author__</strong> = 'jcgregorio@google.com (Joe Gregorio)'</td></tr></table><p>
421<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
422<tr bgcolor="#7799ee">
423<td colspan=3 valign=bottom>&nbsp;<br>
424<font color="#ffffff" face="helvetica, arial"><big><strong>Author</strong></big></font></td></tr>
425
426<tr><td bgcolor="#7799ee"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
427<td width="100%">jcgregorio@google.com&nbsp;(Joe&nbsp;Gregorio)</td></tr></table>
428</body></html>