[GHC] #4454: Misleading errors from Network.Socket

GHC cvs-ghc at haskell.org
Fri Oct 29 19:35:43 EDT 2010


#4454: Misleading errors from Network.Socket
---------------------------------+------------------------------------------
    Reporter:  Olathe            |       Owner:                             
        Type:  bug               |      Status:  new                        
    Priority:  normal            |   Component:  libraries/base             
     Version:  6.12.3            |    Keywords:                             
    Testcase:                    |   Blockedby:                             
          Os:  Unknown/Multiple  |    Blocking:                             
Architecture:  Unknown/Multiple  |     Failure:  Incorrect result at runtime
---------------------------------+------------------------------------------

Comment(by Olathe):

 Ahh, it looks like this is the library user's responsibility.

 If I may suggest an error message for Winsock error 10093:
 {{{
 *** Exception: (functionName): not wrapped with
 Network.Socket.withSocketsDo
 }}}

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4454#comment:3>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the Glasgow-haskell-bugs mailing list