catmap icon indicating copy to clipboard operation
catmap copied to clipboard

Error Handling

Open ajmedford opened this issue 10 years ago • 1 comments

Write custom error classes for handling convergence errors, input errors, etc.

ajmedford avatar Sep 14 '13 02:09 ajmedford

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

mhoffman avatar Nov 14 '14 01:11 mhoffman