Use class-based exceptions
Status: Beta
Brought to you by:
areutter
Use class-based exceptions instead of the string
constants currently in use.
Define a decent hierarchy, don't do it haphazard like.
Perhaps:
EwgLibException(Exception)
NetworkingException(EwgLibException)
BrowsingException(NetworkingException)
SimpleSocketException(NetworkingException)
...
AppFrameworkException(EwgLibException)
...