Ticket #2068 (closed feature request: invalid)

Opened 5 years ago

Last modified 5 years ago

need better exception names for fgl

Reported by: Frederik Owned by:
Priority: normal Milestone:
Component: libraries (other) Version: 6.8.2
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: Difficulty: Unknown
Test Case: Blocked By:
Blocking: Related Tickets:

Description

Every once in a while, due to bugs in my code, when using fgl I see exceptions such as "Edge Exception, Node: 30". I think it would be better if messages like this in the library could be more informative, such as "Invalid node 439 in edge from node 30" or "Duplicate node 30" etc. Given that there is a problem with the graph, and given that graphs are made of nodes and edges, it is a good bet that the problem has something to do with a node or an edge, so saying "Node Exception" or "Edge Exception" doesn't provide users with very much information.

Change History

Changed 5 years ago by igloo

  • status changed from new to closed
  • difficulty set to Unknown
  • resolution set to invalid

fgl is, according to its cabal file, maintained by Martin Erwig; contact details are on its homepage, here:  http://web.engr.oregonstate.edu/~erwig/fgl/haskell

Bug reports and feature requests should be sent to Martin.

Changed 5 years ago by simonmar

  • architecture changed from Unknown to Unknown/Multiple

Changed 5 years ago by simonmar

  • os changed from Unknown to Unknown/Multiple
Note: See TracTickets for help on using tickets.