catmap
catmap copied to clipboard
Error Handling
Write custom error classes for handling convergence errors, input errors, etc.
Even though I love error-handling, I think there are some great arguments against using custom error classes for everything[1]. Convergence errors might be different because there may be smarter ways of handling those. However for input errors there is UserWarning etc. :-).
[1] http://pyvideo.org/video/880/stop-writing-classes