Skip to content

Commit

Permalink
add a note about reThrow
Browse files Browse the repository at this point in the history
  • Loading branch information
gregwebs committed Oct 17, 2012
1 parent 65d71b1 commit 317a9b7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ Also there is a version of thrwIO that gives location information. thrwsIO takes

Caught AException "main:Main test/main.hs:25:6"

Just added: `reThrow`. It catches exceptions, stamps some file location information onto it, and re-throws the exception. Note that the file-location information is only for the reThrow usage site, it is still best to use `thrwIO` if you control the creation of the exception.

# Test Suite

./test/run.sh

0 comments on commit 317a9b7

Please sign in to comment.