Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handle errors with brackets and dialog boxes #39

Closed
4 tasks done
hyperrealgopher opened this issue Mar 9, 2020 · 3 comments
Closed
4 tasks done

Handle errors with brackets and dialog boxes #39

hyperrealgopher opened this issue Mar 9, 2020 · 3 comments
Labels
bug Something isn't working
Milestone

Comments

@hyperrealgopher
Copy link
Collaborator

hyperrealgopher commented Mar 9, 2020

Here's an incomplete listing:

  • History index error
  • Incorrect starting args
  • Invalid line selection
  • Network errors

Can grep to view all error lines, as well, which generally should be handled with an error dialog box.

@hyperrealgopher hyperrealgopher added this to the v0.1.0 milestone Mar 9, 2020
@hyperrealgopher hyperrealgopher added the bug Something isn't working label Mar 26, 2020
@hyperrealgopher
Copy link
Collaborator Author

Maybe break this into separate issues.

@hyperrealgopher
Copy link
Collaborator Author

Might be good to even implement this with #72 or even #73

@hyperrealgopher
Copy link
Collaborator Author

hyperrealgopher commented May 3, 2020

I get this error when trying to open a bogus URL:

waffle: Network.Socket.getAddrInfo (called with preferred socket type/protocol: AddrInfo {addrFlags = [AI_ADDRCONFIG], addrFamily = AF_UNSPEC, addrSocketType = Stream, addrProtocol = 0, addrAddress = , addrCanonName = }, host name: Just "gopher.oop", service name: Just "70"): does not exist (Name or service not known)
should error popup or in status? i think popover...

May have to use connectSock and closeSock myself because it automatically handles exceptions and closes the connection and progresses as normal, which is very bad! https://hackage.haskell.org/package/network-simple-0.4.0.5/docs/Network-Simple-TCP.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant