Skip to content

Commit

Permalink
Disable an error that's not in release.
Browse files Browse the repository at this point in the history
  • Loading branch information
rcrowley committed Sep 2, 2011
1 parent ad2135a commit 9e71cda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions errforce.go
Expand Up @@ -10,7 +10,7 @@ import (
"net" "net"
"os" "os"
"strconv" "strconv"
"url" // "url"
"websocket" "websocket"
) )


Expand All @@ -33,7 +33,7 @@ func Is(refErr, err os.Error) bool {
if werr, ok := err.(*os.PathError); ok { err = werr.Error } if werr, ok := err.(*os.PathError); ok { err = werr.Error }
if werr, ok := err.(png.IDATDecodingError); ok { err = werr.Err } if werr, ok := err.(png.IDATDecodingError); ok { err = werr.Err }
if werr, ok := err.(*strconv.NumError); ok { err = werr.Error } if werr, ok := err.(*strconv.NumError); ok { err = werr.Error }
if werr, ok := err.(*url.Error); ok { err = werr.Error } // if werr, ok := err.(*url.Error); ok { err = werr.Error }
if werr, ok := err.(*websocket.DialError); ok { err = werr.Error } if werr, ok := err.(*websocket.DialError); ok { err = werr.Error }


// In practice, it doesn't matter that os.SyscallError doesn't appear // In practice, it doesn't matter that os.SyscallError doesn't appear
Expand Down

0 comments on commit 9e71cda

Please sign in to comment.