[{"display_html":"<a href=\"#v:failIf\">failIf</a> :: (a -&gt; Bool) -&gt; Text -&gt; IO a -&gt; IO a","name":"failIf","module":"System.Win32.Error.Foreign","link":"System-Win32-Error-Foreign.html#v:failIf"},{"display_html":"<a href=\"#v:failIfFalse_\">failIfFalse_</a> :: Text -&gt; IO Bool -&gt; IO ()","name":"failIfFalse_","module":"System.Win32.Error.Foreign","link":"System-Win32-Error-Foreign.html#v:failIfFalse_"},{"display_html":"<a href=\"#v:failIfNull\">failIfNull</a> :: Text -&gt; IO (Ptr a) -&gt; IO (Ptr a)","name":"failIfNull","module":"System.Win32.Error.Foreign","link":"System-Win32-Error-Foreign.html#v:failIfNull"},{"display_html":"<a href=\"#v:failUnlessSuccess\">failUnlessSuccess</a> :: Text -&gt; IO <a href=\"/package/Win32-2.10.1.1/docs/System-Win32-Types.html#t:DWORD\" title=\"System.Win32.Types\">DWORD</a> -&gt; IO ()","name":"failUnlessSuccess","module":"System.Win32.Error.Foreign","link":"System-Win32-Error-Foreign.html#v:failUnlessSuccess"},{"display_html":"<a href=\"#v:failWith\">failWith</a> :: Text -&gt; <a href=\"System-Win32-Error.html#t:ErrCode\" title=\"System.Win32.Error\">ErrCode</a> -&gt; IO a","name":"failWith","module":"System.Win32.Error.Foreign","link":"System-Win32-Error-Foreign.html#v:failWith"},{"display_html":"<a href=\"#v:errorWin\">errorWin</a> :: Text -&gt; IO a","name":"errorWin","module":"System.Win32.Error.Foreign","link":"System-Win32-Error-Foreign.html#v:errorWin"},{"display_html":"<span class=\"keyword\">data</span> <a href=\"#t:Win32Exception\">Win32Exception</a> = <a href=\"#v:Win32Exception\">Win32Exception</a> {<ul class=\"subs\"><li><a href=\"#v:function\">function</a> :: Text</li><li><a href=\"#v:errCode\">errCode</a> :: <a href=\"System-Win32-Error.html#t:ErrCode\" title=\"System.Win32.Error\">ErrCode</a></li><li><a href=\"#v:systemMessage\">systemMessage</a> :: Text</li></ul>}","name":"Win32Exception Win32Exception errCode function systemMessage","module":"System.Win32.Error","link":"System-Win32-Error.html#t:Win32Exception"},{"display_html":"<a href=\"#v:tryWin32\">tryWin32</a> :: IO a -&gt; IO (Either <a href=\"System-Win32-Error.html#t:Win32Exception\" title=\"System.Win32.Error\">Win32Exception</a> a)","name":"tryWin32","module":"System.Win32.Error","link":"System-Win32-Error.html#v:tryWin32"},{"display_html":"<a href=\"#v:toDWORD\">toDWORD</a> :: <a href=\"System-Win32-Error.html#t:ErrCode\" title=\"System.Win32.Error\">ErrCode</a> -&gt; <a href=\"/package/Win32-2.10.1.1/docs/System-Win32-Types.html#t:DWORD\" title=\"System.Win32.Types\">DWORD</a>","name":"toDWORD","module":"System.Win32.Error","link":"System-Win32-Error.html#v:toDWORD"},{"display_html":"<a href=\"#v:fromDWORD\">fromDWORD</a> :: <a href=\"/package/Win32-2.10.1.1/docs/System-Win32-Types.html#t:DWORD\" title=\"System.Win32.Types\">DWORD</a> -&gt; <a href=\"System-Win32-Error.html#t:ErrCode\" title=\"System.Win32.Error\">ErrCode</a>","name":"fromDWORD","module":"System.Win32.Error","link":"System-Win32-Error.html#v:fromDWORD"},{"display_html":"<span class=\"keyword\">data</span> <a href=\"#t:ErrCode\">ErrCode</a><ul class=\"subs\"><li>= <a href=\"#v:InvalidHandleValue\">InvalidHandleValue</a></li><li>| <a href=\"#v:Success\">Success</a></li><li>| <a href=\"#v:FileNotFound\">FileNotFound</a></li><li>| <a href=\"#v:PathNotFound\">PathNotFound</a></li><li>| <a href=\"#v:AccessDenied\">AccessDenied</a></li><li>| <a href=\"#v:InvalidHandle\">InvalidHandle</a></li><li>| <a href=\"#v:InvalidData\">InvalidData</a></li><li>| <a href=\"#v:InvalidDrive\">InvalidDrive</a></li><li>| <a href=\"#v:CurrentDirectory\">CurrentDirectory</a></li><li>| <a href=\"#v:NoMoreFiles\">NoMoreFiles</a></li><li>| <a href=\"#v:CallNotImplemented\">CallNotImplemented</a></li><li>| <a href=\"#v:MoreData\">MoreData</a></li><li>| <a href=\"#v:NoMoreItems\">NoMoreItems</a></li><li>| <a href=\"#v:ServiceAlreadyRunning\">ServiceAlreadyRunning</a></li><li>| <a href=\"#v:ServiceDisabled\">ServiceDisabled</a></li><li>| <a href=\"#v:ServiceDoesNotExist\">ServiceDoesNotExist</a></li><li>| <a href=\"#v:ServiceCannotAcceptCtrl\">ServiceCannotAcceptCtrl</a></li><li>| <a href=\"#v:ServiceNotActive\">ServiceNotActive</a></li><li>| <a href=\"#v:FailedServiceControllerConnect\">FailedServiceControllerConnect</a></li><li>| <a href=\"#v:ExceptionInService\">ExceptionInService</a></li><li>| <a href=\"#v:ServiceSpecificError\">ServiceSpecificError</a></li><li>| <a href=\"#v:ServiceNotInExe\">ServiceNotInExe</a></li><li>| <a href=\"#v:RPCSServerUnavailable\">RPCSServerUnavailable</a></li><li>| <a href=\"#v:RPCSServerTooBusy\">RPCSServerTooBusy</a></li><li>| <a href=\"#v:NotAReparsePoint\">NotAReparsePoint</a></li><li>| <a href=\"#v:DhcpSubnetNotPresent\">DhcpSubnetNotPresent</a></li><li>| <a href=\"#v:DhcpElementCantRemove\">DhcpElementCantRemove</a></li><li>| <a href=\"#v:DhcpOptionNotPresent\">DhcpOptionNotPresent</a></li><li>| <a href=\"#v:DhcpJetError\">DhcpJetError</a></li><li>| <a href=\"#v:DhcpNotReservedClient\">DhcpNotReservedClient</a></li><li>| <a href=\"#v:DhcpReservedClient\">DhcpReservedClient</a></li><li>| <a href=\"#v:DhcpIprangeExists\">DhcpIprangeExists</a></li><li>| <a href=\"#v:DhcpReservedipExists\">DhcpReservedipExists</a></li><li>| <a href=\"#v:DhcpInvalidRange\">DhcpInvalidRange</a></li><li>| <a href=\"#v:DhcpIprangeConvIllegal\">DhcpIprangeConvIllegal</a></li><li>| <a href=\"#v:ScopeRangePolicyRangeConflict\">ScopeRangePolicyRangeConflict</a></li><li>| <a href=\"#v:DhcpFoIprangeTypeConvIllegal\">DhcpFoIprangeTypeConvIllegal</a></li><li>| <a href=\"#v:Other\">Other</a> !<a href=\"/package/Win32-2.10.1.1/docs/System-Win32-Types.html#t:DWORD\" title=\"System.Win32.Types\">DWORD</a></li></ul>","name":"ErrCode InvalidHandleValue Success FileNotFound PathNotFound AccessDenied InvalidHandle InvalidData InvalidDrive CurrentDirectory NoMoreFiles CallNotImplemented MoreData NoMoreItems ServiceAlreadyRunning ServiceDisabled ServiceDoesNotExist ServiceCannotAcceptCtrl ServiceNotActive FailedServiceControllerConnect ExceptionInService ServiceSpecificError ServiceNotInExe RPCSServerUnavailable RPCSServerTooBusy NotAReparsePoint DhcpSubnetNotPresent DhcpElementCantRemove DhcpOptionNotPresent DhcpJetError DhcpNotReservedClient DhcpReservedClient DhcpIprangeExists DhcpReservedipExists DhcpInvalidRange DhcpIprangeConvIllegal ScopeRangePolicyRangeConflict DhcpFoIprangeTypeConvIllegal Other","module":"System.Win32.Error","link":"System-Win32-Error.html#t:ErrCode"}]