⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 skype4py.errors-pysrc.html

📁 基于python的skype的API的说明文档
💻 HTML
📖 第 1 页 / 共 2 页
字号:
</div><div id="ISkypeError-collapsed" style="display:none;" pad="++" indent="++++"></div><div id="ISkypeError-expanded"><a name="L23"></a><tt class="py-lineno">23</tt>  <tt class="py-line">    <tt class="py-docstring">'''Raised whenever Skype client reports an error back to Skype4Py. It can be subscripted in which</tt> </tt><a name="L24"></a><tt class="py-lineno">24</tt>  <tt class="py-line"><tt class="py-docstring">    case following information can be obtained::</tt> </tt><a name="L25"></a><tt class="py-lineno">25</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt><a name="L26"></a><tt class="py-lineno">26</tt>  <tt class="py-line"><tt class="py-docstring">        Index | Meaning</tt> </tt><a name="L27"></a><tt class="py-lineno">27</tt>  <tt class="py-line"><tt class="py-docstring">        ------+-------------------------------------------------------------------------------</tt> </tt><a name="L28"></a><tt class="py-lineno">28</tt>  <tt class="py-line"><tt class="py-docstring">            0 | (int) Error number. See below.</tt> </tt><a name="L29"></a><tt class="py-lineno">29</tt>  <tt class="py-line"><tt class="py-docstring">            1 | (unicode) Error description string.</tt> </tt><a name="L30"></a><tt class="py-lineno">30</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt><a name="L31"></a><tt class="py-lineno">31</tt>  <tt class="py-line"><tt class="py-docstring">    See U{Error codes&lt;https://developer.skype.com/Docs/ApiDoc/Error_codes&gt;} for more information</tt> </tt><a name="L32"></a><tt class="py-lineno">32</tt>  <tt class="py-line"><tt class="py-docstring">    about Skype error code numbers. Additionally error code 0 can be raised by Skype4Py itself.</tt> </tt><a name="L33"></a><tt class="py-lineno">33</tt>  <tt class="py-line"><tt class="py-docstring">    '''</tt> </tt><a name="L34"></a><tt class="py-lineno">34</tt>  <tt class="py-line"> </tt><a name="ISkypeError.__init__"></a><div id="ISkypeError.__init__-def"><a name="L35"></a><tt class="py-lineno">35</tt> <a class="py-toggle" href="#" id="ISkypeError.__init__-toggle" onclick="return toggle('ISkypeError.__init__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Skype4Py.errors.ISkypeError-class.html#__init__">__init__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">,</tt> <tt class="py-param">errno</tt><tt class="py-op">,</tt> <tt class="py-param">errstr</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt></div><div id="ISkypeError.__init__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="ISkypeError.__init__-expanded"><a name="L36"></a><tt class="py-lineno">36</tt>  <tt class="py-line">        <tt class="py-docstring">'''__init__.</tt> </tt><a name="L37"></a><tt class="py-lineno">37</tt>  <tt class="py-line"><tt class="py-docstring"></tt> </tt><a name="L38"></a><tt class="py-lineno">38</tt>  <tt class="py-line"><tt class="py-docstring">        @param errno: Error number.</tt> </tt><a name="L39"></a><tt class="py-lineno">39</tt>  <tt class="py-line"><tt class="py-docstring">        @type errno: int</tt> </tt><a name="L40"></a><tt class="py-lineno">40</tt>  <tt class="py-line"><tt class="py-docstring">        @param errstr: Error description.</tt> </tt><a name="L41"></a><tt class="py-lineno">41</tt>  <tt class="py-line"><tt class="py-docstring">        @type errstr: unicode</tt> </tt><a name="L42"></a><tt class="py-lineno">42</tt>  <tt class="py-line"><tt class="py-docstring">        '''</tt> </tt><a name="L43"></a><tt class="py-lineno">43</tt>  <tt class="py-line">        <tt class="py-name">Exception</tt><tt class="py-op">.</tt><tt id="link-1" class="py-name"><a title="Skype4Py.API.ICommand.__init__Skype4Py.API.darwin.CFDictionary.__init__Skype4Py.API.darwin.CFDistributedNotificationCenter.__init__Skype4Py.API.darwin.CFNumber.__init__Skype4Py.API.darwin.CFString.__init__Skype4Py.API.darwin.CFType.__init__Skype4Py.API.darwin.Carbon.__init__Skype4Py.API.darwin.CoreFoundation.__init__Skype4Py.API.darwin.EventLoop.__init__Skype4Py.callchannel.ICallChannel.__init__Skype4Py.callchannel.ICallChannelManager.__init__Skype4Py.callchannel.ICallChannelMessage.__init__Skype4Py.client.IClient.__init__Skype4Py.conversion.IConversion.__init__Skype4Py.errors.ISkypeAPIError.__init__Skype4Py.errors.ISkypeError.__init__Skype4Py.profile.IProfile.__init__Skype4Py.settings.ISettings.__init__Skype4Py.skype.ISkype.__init__Skype4Py.utils.EventHandlingBase.__init__" class="py-name" href="#" onclick="return doclink('link-1', '__init__', 'link-0');">__init__</a></tt><tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">,</tt> <tt class="py-name">int</tt><tt class="py-op">(</tt><tt class="py-name">errno</tt><tt class="py-op">)</tt><tt class="py-op">,</tt> <tt class="py-name">str</tt><tt class="py-op">(</tt><tt class="py-name">errstr</tt><tt class="py-op">)</tt><tt class="py-op">)</tt> </tt></div><a name="L44"></a><tt class="py-lineno">44</tt>  <tt class="py-line"> </tt><a name="ISkypeError.__str__"></a><div id="ISkypeError.__str__-def"><a name="L45"></a><tt class="py-lineno">45</tt> <a class="py-toggle" href="#" id="ISkypeError.__str__-toggle" onclick="return toggle('ISkypeError.__str__');">-</a><tt class="py-line">    <tt class="py-keyword">def</tt> <a class="py-def-name" href="Skype4Py.errors.ISkypeError-class.html#__str__">__str__</a><tt class="py-op">(</tt><tt class="py-param">self</tt><tt class="py-op">)</tt><tt class="py-op">:</tt> </tt></div><div id="ISkypeError.__str__-collapsed" style="display:none;" pad="++" indent="++++++++"></div><div id="ISkypeError.__str__-expanded"><a name="L46"></a><tt class="py-lineno">46</tt>  <tt class="py-line">        <tt class="py-keyword">return</tt> <tt class="py-string">'[Errno %d] %s'</tt> <tt class="py-op">%</tt> <tt class="py-op">(</tt><tt class="py-name">self</tt><tt class="py-op">[</tt><tt class="py-number">0</tt><tt class="py-op">]</tt><tt class="py-op">,</tt> <tt class="py-name">self</tt><tt class="py-op">[</tt><tt class="py-number">1</tt><tt class="py-op">]</tt><tt class="py-op">)</tt> </tt></div></div><a name="L47"></a><tt class="py-lineno">47</tt>  <tt class="py-line"> </tt><script type="text/javascript"><!--expandto(location.href);// --></script></pre><br /><!-- ==================== NAVIGATION BAR ==================== --><table class="navbar" border="0" width="100%" cellpadding="0"       bgcolor="#a0c0ff" cellspacing="0">  <tr valign="middle">  <!-- Home link -->      <th>&nbsp;&nbsp;&nbsp;<a        href="Skype4Py-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>  <!-- Tree link -->      <th>&nbsp;&nbsp;&nbsp;<a        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>  <!-- Index link -->      <th>&nbsp;&nbsp;&nbsp;<a        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>  <!-- Help link -->      <th>&nbsp;&nbsp;&nbsp;<a        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>  <!-- Project homepage -->      <th class="navbar" align="right" width="100%">        <table border="0" cellpadding="0" cellspacing="0">          <tr><th class="navbar" align="center"            ><a class="navbar" target="_top" href="https://developer.skype.com/wiki/Skype4Py">Skype4Py</a></th>          </tr></table></th>  </tr></table><table border="0" cellpadding="0" cellspacing="0" width="100%%">  <tr>    <td align="left" class="footer">    Generated by Epydoc 3.0.1 on Wed Nov 05 14:55:03 2008    </td>    <td align="right" class="footer">      <a target="mainFrame" href="http://epydoc.sourceforge.net"        >http://epydoc.sourceforge.net</a>    </td>  </tr></table><script type="text/javascript">  <!--  // Private objects are initially displayed (because if  // javascript is turned off then we want them to be  // visible); but by default, we want to hide them.  So hide  // them unless we have a cookie that says to show them.  checkCookie();  // --></script></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -