Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Exception objects (Pull Request Challenge January 2016) #23
The naming of exceptions is not consistent now, and I am struggling to come up with good names, so if anyone else has ideas for what is best naming policy, that would be great. I was struggling between naming for expected behaviour or naming for what the error is, while trying to keep them short.
The test for
The code gets a bit bigger with this, and I am not sure the payload is necessary, but I do think adding the trace is a good idea. I added the payload mostly to show how it's done for later.
This attempts to address the second issue outlined in #20.