exception guidelines for launchpad - good idea?

Aaron Bentley aaron.bentley at utoronto.ca
Wed Dec 7 14:38:18 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Robert Collins wrote:
| https://wiki.launchpad.canonical.com/ExceptionGuidelines
|
| That documents the recently decided guidelines for exception handling in
| launchpad. I think they are sane and we should adopt them for bzr.
|
| They dont have a great deal of rationale behind them, but I'm happy to
| add rationale as needed if folk have questions.

It looks okay, but the stuff on TypeError isn't clear to me.  I think
it's quite reasonable to throw TypeError if we get an argument of the
wrong type.  And since we are writing a library, the rationale about
writing an app doesn't hold.

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDlvPZ0F+nu1YWqI0RAkxbAJ9qXMeW2xjp4A/q8IoKGvHAlwY19QCfV27S
oRknWnGDnehi/7/i6PV7Q1w=
=hX9P
-----END PGP SIGNATURE-----




More information about the bazaar mailing list