diff options
| author | Teddy Wing | 2017-08-10 23:38:50 +0200 |
|---|---|---|
| committer | Teddy Wing | 2017-08-10 23:50:26 +0200 |
| commit | 465f32c216bd9a9bd695f0a2f0f3a08369c51e9a (patch) | |
| tree | a6dc3a96f5cd84bc383f111111c0df52156f842b /test | |
| parent | a13026cbdf42ebc159b202588d10dffba47c1c1b (diff) | |
| download | sorbot-465f32c216bd9a9bd695f0a2f0f3a08369c51e9a.tar.bz2 | |
Try to set up error handling for GitHub Commit plugin
This doesn't really work, but I wanted to hold onto this step. I've been
reading about error handling, notably this article:
http://www.randomhacks.net/2007/03/10/haskell-8-ways-to-report-errors/
I kind of like the idea of just using `fail`, and being able to have
that set up some polymorphism to handle `Maybe`, `Either`, and `IO`
situations, but today read some literature that discouraged using fail,
since not all monads implement it.
Anyway, this code doesn't print out the error string like I intended it
to, so I guess I'll have to use `Either` instead.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions
