libgit2/libgit2sharp — pull request #183 by tclem (2012-06-15 21:31:48+00:00)
Title: Cleanup error marshaling and generating code

This is my second attempt to clean up error handling a bit. Here are the highlights.

- I don't like `Class` or `Type` so I'm calling the libgit2 error class `Category` instead.
- I'm using a custom marshaler for `GitError`, but we still have to manually do the UTF8 marshaling for the error message
- Error `Code` and `Category` are now available on the exception as true properties so that consumers can use them instead of parsing the error message we generate.

This PR replaces #163