Joe Gregorio | 30dfdc3 | 2010-12-09 16:34:22 -0500 | [diff] [blame] | 1 | |
| 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> <br> |
| 9 | <font color="#ffffff" face="helvetica, arial"> <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 Gregorio | 3cf90d0 | 2010-12-20 10:26:08 -0500 | [diff] [blame^] | 11 | ><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/usr/local/google/home/jcgregorio/projects/apiclient/apiclient/errors.py">/usr/local/google/home/jcgregorio/projects/apiclient/apiclient/errors.py</a></font></td></tr></table> |
Joe Gregorio | 30dfdc3 | 2010-12-09 16:34:22 -0500 | [diff] [blame] | 12 | <p><tt>Errors for the library.<br> |
| 13 | <br> |
| 14 | All exceptions defined by the library<br> |
| 15 | should be defined in this file.</tt></p> |
| 16 | <p> |
| 17 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 18 | <tr bgcolor="#ee77aa"> |
| 19 | <td colspan=3 valign=bottom> <br> |
| 20 | <font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr> |
| 21 | |
| 22 | <tr><td bgcolor="#ee77aa"><tt> </tt></td><td> </td> |
| 23 | <td width="100%"><dl> |
| 24 | <dt><font face="helvetica, arial"><a href="exceptions.html#Exception">exceptions.Exception</a>(<a href="exceptions.html#BaseException">exceptions.BaseException</a>) |
| 25 | </font></dt><dd> |
| 26 | <dl> |
| 27 | <dt><font face="helvetica, arial"><a href="apiclient.errors.html#Error">Error</a> |
| 28 | </font></dt><dd> |
| 29 | <dl> |
| 30 | <dt><font face="helvetica, arial"><a href="apiclient.errors.html#HttpError">HttpError</a> |
| 31 | </font></dt><dt><font face="helvetica, arial"><a href="apiclient.errors.html#UnknownLinkType">UnknownLinkType</a> |
| 32 | </font></dt></dl> |
| 33 | </dd> |
| 34 | </dl> |
| 35 | </dd> |
| 36 | </dl> |
| 37 | <p> |
| 38 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 39 | <tr bgcolor="#ffc8d8"> |
| 40 | <td colspan=3 valign=bottom> <br> |
| 41 | <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> |
| 42 | |
| 43 | <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| 44 | <td colspan=2><tt>Base error for this module.<br> </tt></td></tr> |
| 45 | <tr><td> </td> |
| 46 | <td width="100%"><dl><dt>Method resolution order:</dt> |
| 47 | <dd><a href="apiclient.errors.html#Error">Error</a></dd> |
| 48 | <dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd> |
| 49 | <dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd> |
| 50 | <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| 51 | </dl> |
| 52 | <hr> |
| 53 | Data descriptors defined here:<br> |
| 54 | <dl><dt><strong>__weakref__</strong></dt> |
| 55 | <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| 56 | </dl> |
| 57 | <hr> |
| 58 | Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br> |
| 59 | <dl><dt><a name="Error-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__init__">__init__</a>(...) initializes x; see x.__class__.__doc__ for signature</tt></dd></dl> |
| 60 | |
| 61 | <hr> |
| 62 | Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br> |
| 63 | <dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#Error-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl> |
| 64 | |
| 65 | <hr> |
| 66 | Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> |
| 67 | <dl><dt><a name="Error-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__delattr__">__delattr__</a>('name') <==> del x.name</tt></dd></dl> |
| 68 | |
| 69 | <dl><dt><a name="Error-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl> |
| 70 | |
| 71 | <dl><dt><a name="Error-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__getitem__">__getitem__</a>(y) <==> x[y]</tt></dd></dl> |
| 72 | |
| 73 | <dl><dt><a name="Error-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__getslice__">__getslice__</a>(i, j) <==> x[i:j]<br> |
| 74 | <br> |
| 75 | Use of negative indices is not supported.</tt></dd></dl> |
| 76 | |
| 77 | <dl><dt><a name="Error-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl> |
| 78 | |
| 79 | <dl><dt><a name="Error-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__repr__">__repr__</a>() <==> repr(x)</tt></dd></dl> |
| 80 | |
| 81 | <dl><dt><a name="Error-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__setattr__">__setattr__</a>('name', value) <==> x.name = value</tt></dd></dl> |
| 82 | |
| 83 | <dl><dt><a name="Error-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl> |
| 84 | |
| 85 | <dl><dt><a name="Error-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#Error-__str__">__str__</a>() <==> str(x)</tt></dd></dl> |
| 86 | |
| 87 | <dl><dt><a name="Error-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl> |
| 88 | |
| 89 | <hr> |
| 90 | Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> |
| 91 | <dl><dt><strong>__dict__</strong></dt> |
| 92 | </dl> |
| 93 | <dl><dt><strong>args</strong></dt> |
| 94 | </dl> |
| 95 | <dl><dt><strong>message</strong></dt> |
| 96 | </dl> |
| 97 | </td></tr></table> <p> |
| 98 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 99 | <tr bgcolor="#ffc8d8"> |
| 100 | <td colspan=3 valign=bottom> <br> |
| 101 | <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> |
| 102 | |
| 103 | <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| 104 | <td colspan=2><tt>HTTP data was invalid or unexpected.<br> </tt></td></tr> |
| 105 | <tr><td> </td> |
| 106 | <td width="100%"><dl><dt>Method resolution order:</dt> |
| 107 | <dd><a href="apiclient.errors.html#HttpError">HttpError</a></dd> |
| 108 | <dd><a href="apiclient.errors.html#Error">Error</a></dd> |
| 109 | <dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd> |
| 110 | <dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd> |
| 111 | <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| 112 | </dl> |
| 113 | <hr> |
| 114 | Methods defined here:<br> |
| 115 | <dl><dt><a name="HttpError-__init__"><strong>__init__</strong></a>(self, resp, detail)</dt></dl> |
| 116 | |
| 117 | <dl><dt><a name="HttpError-__str__"><strong>__str__</strong></a>(self)</dt></dl> |
| 118 | |
| 119 | <hr> |
| 120 | Data descriptors inherited from <a href="apiclient.errors.html#Error">Error</a>:<br> |
| 121 | <dl><dt><strong>__weakref__</strong></dt> |
| 122 | <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| 123 | </dl> |
| 124 | <hr> |
| 125 | Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br> |
| 126 | <dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#HttpError-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl> |
| 127 | |
| 128 | <hr> |
| 129 | Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> |
| 130 | <dl><dt><a name="HttpError-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#HttpError-__delattr__">__delattr__</a>('name') <==> del x.name</tt></dd></dl> |
| 131 | |
| 132 | <dl><dt><a name="HttpError-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#HttpError-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl> |
| 133 | |
| 134 | <dl><dt><a name="HttpError-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#HttpError-__getitem__">__getitem__</a>(y) <==> x[y]</tt></dd></dl> |
| 135 | |
| 136 | <dl><dt><a name="HttpError-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#HttpError-__getslice__">__getslice__</a>(i, j) <==> x[i:j]<br> |
| 137 | <br> |
| 138 | Use of negative indices is not supported.</tt></dd></dl> |
| 139 | |
| 140 | <dl><dt><a name="HttpError-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl> |
| 141 | |
| 142 | <dl><dt><a name="HttpError-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#HttpError-__repr__">__repr__</a>() <==> repr(x)</tt></dd></dl> |
| 143 | |
| 144 | <dl><dt><a name="HttpError-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#HttpError-__setattr__">__setattr__</a>('name', value) <==> x.name = value</tt></dd></dl> |
| 145 | |
| 146 | <dl><dt><a name="HttpError-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl> |
| 147 | |
| 148 | <dl><dt><a name="HttpError-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl> |
| 149 | |
| 150 | <hr> |
| 151 | Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> |
| 152 | <dl><dt><strong>__dict__</strong></dt> |
| 153 | </dl> |
| 154 | <dl><dt><strong>args</strong></dt> |
| 155 | </dl> |
| 156 | <dl><dt><strong>message</strong></dt> |
| 157 | </dl> |
| 158 | </td></tr></table> <p> |
| 159 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 160 | <tr bgcolor="#ffc8d8"> |
| 161 | <td colspan=3 valign=bottom> <br> |
| 162 | <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> |
| 163 | |
| 164 | <tr bgcolor="#ffc8d8"><td rowspan=2><tt> </tt></td> |
| 165 | <td colspan=2><tt>Link type unknown or unexpected.<br> </tt></td></tr> |
| 166 | <tr><td> </td> |
| 167 | <td width="100%"><dl><dt>Method resolution order:</dt> |
| 168 | <dd><a href="apiclient.errors.html#UnknownLinkType">UnknownLinkType</a></dd> |
| 169 | <dd><a href="apiclient.errors.html#Error">Error</a></dd> |
| 170 | <dd><a href="exceptions.html#Exception">exceptions.Exception</a></dd> |
| 171 | <dd><a href="exceptions.html#BaseException">exceptions.BaseException</a></dd> |
| 172 | <dd><a href="__builtin__.html#object">__builtin__.object</a></dd> |
| 173 | </dl> |
| 174 | <hr> |
| 175 | Data descriptors inherited from <a href="apiclient.errors.html#Error">Error</a>:<br> |
| 176 | <dl><dt><strong>__weakref__</strong></dt> |
| 177 | <dd><tt>list of weak references to the object (if defined)</tt></dd> |
| 178 | </dl> |
| 179 | <hr> |
| 180 | Methods inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br> |
| 181 | <dl><dt><a name="UnknownLinkType-__init__"><strong>__init__</strong></a>(...)</dt><dd><tt>x.<a href="#UnknownLinkType-__init__">__init__</a>(...) initializes x; see x.__class__.__doc__ for signature</tt></dd></dl> |
| 182 | |
| 183 | <hr> |
| 184 | Data and other attributes inherited from <a href="exceptions.html#Exception">exceptions.Exception</a>:<br> |
| 185 | <dl><dt><strong>__new__</strong> = <built-in method __new__ of type object><dd><tt>T.<a href="#UnknownLinkType-__new__">__new__</a>(S, ...) -> a new object with type S, a subtype of T</tt></dl> |
| 186 | |
| 187 | <hr> |
| 188 | Methods inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> |
| 189 | <dl><dt><a name="UnknownLinkType-__delattr__"><strong>__delattr__</strong></a>(...)</dt><dd><tt>x.<a href="#UnknownLinkType-__delattr__">__delattr__</a>('name') <==> del x.name</tt></dd></dl> |
| 190 | |
| 191 | <dl><dt><a name="UnknownLinkType-__getattribute__"><strong>__getattribute__</strong></a>(...)</dt><dd><tt>x.<a href="#UnknownLinkType-__getattribute__">__getattribute__</a>('name') <==> x.name</tt></dd></dl> |
| 192 | |
| 193 | <dl><dt><a name="UnknownLinkType-__getitem__"><strong>__getitem__</strong></a>(...)</dt><dd><tt>x.<a href="#UnknownLinkType-__getitem__">__getitem__</a>(y) <==> x[y]</tt></dd></dl> |
| 194 | |
| 195 | <dl><dt><a name="UnknownLinkType-__getslice__"><strong>__getslice__</strong></a>(...)</dt><dd><tt>x.<a href="#UnknownLinkType-__getslice__">__getslice__</a>(i, j) <==> x[i:j]<br> |
| 196 | <br> |
| 197 | Use of negative indices is not supported.</tt></dd></dl> |
| 198 | |
| 199 | <dl><dt><a name="UnknownLinkType-__reduce__"><strong>__reduce__</strong></a>(...)</dt></dl> |
| 200 | |
| 201 | <dl><dt><a name="UnknownLinkType-__repr__"><strong>__repr__</strong></a>(...)</dt><dd><tt>x.<a href="#UnknownLinkType-__repr__">__repr__</a>() <==> repr(x)</tt></dd></dl> |
| 202 | |
| 203 | <dl><dt><a name="UnknownLinkType-__setattr__"><strong>__setattr__</strong></a>(...)</dt><dd><tt>x.<a href="#UnknownLinkType-__setattr__">__setattr__</a>('name', value) <==> x.name = value</tt></dd></dl> |
| 204 | |
| 205 | <dl><dt><a name="UnknownLinkType-__setstate__"><strong>__setstate__</strong></a>(...)</dt></dl> |
| 206 | |
| 207 | <dl><dt><a name="UnknownLinkType-__str__"><strong>__str__</strong></a>(...)</dt><dd><tt>x.<a href="#UnknownLinkType-__str__">__str__</a>() <==> str(x)</tt></dd></dl> |
| 208 | |
| 209 | <dl><dt><a name="UnknownLinkType-__unicode__"><strong>__unicode__</strong></a>(...)</dt></dl> |
| 210 | |
| 211 | <hr> |
| 212 | Data descriptors inherited from <a href="exceptions.html#BaseException">exceptions.BaseException</a>:<br> |
| 213 | <dl><dt><strong>__dict__</strong></dt> |
| 214 | </dl> |
| 215 | <dl><dt><strong>args</strong></dt> |
| 216 | </dl> |
| 217 | <dl><dt><strong>message</strong></dt> |
| 218 | </dl> |
| 219 | </td></tr></table></td></tr></table><p> |
| 220 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 221 | <tr bgcolor="#55aa55"> |
| 222 | <td colspan=3 valign=bottom> <br> |
| 223 | <font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr> |
| 224 | |
| 225 | <tr><td bgcolor="#55aa55"><tt> </tt></td><td> </td> |
| 226 | <td width="100%"><strong>__author__</strong> = 'jcgregorio@google.com (Joe Gregorio)'</td></tr></table><p> |
| 227 | <table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section"> |
| 228 | <tr bgcolor="#7799ee"> |
| 229 | <td colspan=3 valign=bottom> <br> |
| 230 | <font color="#ffffff" face="helvetica, arial"><big><strong>Author</strong></big></font></td></tr> |
| 231 | |
| 232 | <tr><td bgcolor="#7799ee"><tt> </tt></td><td> </td> |
| 233 | <td width="100%">jcgregorio@google.com (Joe Gregorio)</td></tr></table> |
| 234 | </body></html> |