This file is indexed.

/usr/share/doc/libghc-ldap-doc/html/LDAP-Exceptions.html is in libghc-ldap-doc 0.6.9-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>LDAP.Exceptions</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_LDAP-Exceptions.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/LDAP-Exceptions.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">LDAP-0.6.9: Haskell binding for C LDAP API</p></div><div id="content"><div id="module-header"><table class="info"><tr><th>Maintainer</th><td>John Goerzen,</td></tr><tr><th>Safe Haskell</th><td>None</td></tr></table><p class="caption">LDAP.Exceptions</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Types
</a></li><li><a href="#g:2">General Catching
</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Maintainer : jgoerzen@complete.org
   Stability  : provisional
   Portability: portable
</p><p>Handling LDAP Exceptions
</p><p>Written by John Goerzen, jgoerzen@complete.org
</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><span class="keyword">data</span>  <a href="#t:LDAPException">LDAPException</a>  = <a href="#v:LDAPException">LDAPException</a> {<ul class="subs"><li><a href="#v:code">code</a> :: <a href="LDAP-Data.html#t:LDAPReturnCode">LDAPReturnCode</a></li><li><a href="#v:description">description</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li><li><a href="#v:caller">caller</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></li></ul>}</li><li class="src short"><a href="#v:catchLDAP">catchLDAP</a> ::  <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> a -&gt; (<a href="LDAP-Exceptions.html#t:LDAPException">LDAPException</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> a) -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> a</li><li class="src short"><a href="#v:handleLDAP">handleLDAP</a> ::  (<a href="LDAP-Exceptions.html#t:LDAPException">LDAPException</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> a) -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> a -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> a</li><li class="src short"><a href="#v:failLDAP">failLDAP</a> ::  <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> a -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> a</li><li class="src short"><a href="#v:throwLDAP">throwLDAP</a> ::  <a href="LDAP-Exceptions.html#t:LDAPException">LDAPException</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> a</li></ul></div><div id="interface"><h1 id="g:1">Types
</h1><div class="top"><p class="src"><span class="keyword">data</span>  <a name="t:LDAPException" class="def">LDAPException</a>  <a href="src/LDAP-Exceptions.html#LDAPException" class="link">Source</a></p><div class="doc"><p>The basic type of LDAP exceptions.  These are raised when an operation
does not indicate success. 
</p></div><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a name="v:LDAPException" class="def">LDAPException</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div class="subs fields"><p class="caption">Fields</p><dl><dt class="src"><a name="v:code" class="def">code</a> :: <a href="LDAP-Data.html#t:LDAPReturnCode">LDAPReturnCode</a></dt><dd class="doc"><p>Numeric error code
</p></dd><dt class="src"><a name="v:description" class="def">description</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc"><p>Description of error
</p></dd><dt class="src"><a name="v:caller" class="def">caller</a> :: <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-String.html#t:String">String</a></dt><dd class="doc"><p>Calling function
</p></dd></dl><div class="clear"></div></div></td></tr></table></div><div class="subs instances"><p id="control.i:LDAPException" class="caption collapser" onclick="toggleSection('i:LDAPException')">Instances</p><div id="section.i:LDAPException" class="show"><table><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Eq.html#t:Eq">Eq</a> <a href="LDAP-Exceptions.html#t:LDAPException">LDAPException</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Ord.html#t:Ord">Ord</a> <a href="LDAP-Exceptions.html#t:LDAPException">LDAPException</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Text-Show.html#t:Show">Show</a> <a href="LDAP-Exceptions.html#t:LDAPException">LDAPException</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Data-Typeable-Internal.html#t:Typeable">Typeable</a> <a href="LDAP-Exceptions.html#t:LDAPException">LDAPException</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src"><a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/Control-Exception-Base.html#t:Exception">Exception</a> <a href="LDAP-Exceptions.html#t:LDAPException">LDAPException</a></td><td class="doc empty">&nbsp;</td></tr></table></div></div></div><h1 id="g:2">General Catching
</h1><div class="top"><p class="src"><a name="v:catchLDAP" class="def">catchLDAP</a> ::  <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> a -&gt; (<a href="LDAP-Exceptions.html#t:LDAPException">LDAPException</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> a) -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> a<a href="src/LDAP-Exceptions.html#catchLDAP" class="link">Source</a></p><div class="doc"><p>Execute the given IO action.
</p><p>If it raises a <code><a href="LDAP-Exceptions.html#t:LDAPException">LDAPException</a></code>, then execute the supplied handler and return
its return value.  Otherwise, process as normal. 
</p></div></div><div class="top"><p class="src"><a name="v:handleLDAP" class="def">handleLDAP</a> ::  (<a href="LDAP-Exceptions.html#t:LDAPException">LDAPException</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> a) -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> a -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> a<a href="src/LDAP-Exceptions.html#handleLDAP" class="link">Source</a></p><div class="doc"><p>Like <code><a href="LDAP-Exceptions.html#v:catchLDAP">catchLDAP</a></code>, with the order of arguments reversed. 
</p></div></div><div class="top"><p class="src"><a name="v:failLDAP" class="def">failLDAP</a> ::  <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> a -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> a<a href="src/LDAP-Exceptions.html#failLDAP" class="link">Source</a></p><div class="doc"><p>Catches LDAP errors, and re-raises them as IO errors with fail.
Useful if you don't care to catch LDAP errors, but want to see a sane
error message if one happens.  One would often use this as a high-level
wrapper around LDAP calls.
</p></div></div><div class="top"><p class="src"><a name="v:throwLDAP" class="def">throwLDAP</a> ::  <a href="LDAP-Exceptions.html#t:LDAPException">LDAPException</a> -&gt; <a href="/usr/share/doc/ghc-doc/html/libraries/base-4.6.0.1/System-IO.html#t:IO">IO</a> a<a href="src/LDAP-Exceptions.html#throwLDAP" class="link">Source</a></p><div class="doc"><p>A utility function to throw an <code><a href="LDAP-Exceptions.html#t:LDAPException">LDAPException</a></code>.  The mechanics of throwing
such a thing differ between GHC 6.8.x, Hugs, and GHC 6.10.  This function
takes care of the special cases to make it simpler.
</p><p>With GHC 6.10, it is a type-restricted alias for throw.  On all other systems,
it is a type-restricted alias for throwDyn. 
</p></div></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.13.2</p></div></body></html>