LTe/iban-check — pull request #2 by thbar (2012-02-01 08:47:43+00:00)
Title: Raise MissingCountryException for easier catching by the caller

Hello!

I made this change to ensure it's easier for the calling library to intercept the exception (especially useful if two layers of callers are stacked up); in case you like it :)

Also I'd like your opinion on something for later on: if instead of raising an exception, the iban was just marked as invalid, like in ActiveRecord, maybe it would be nicer to use?

Let me know what you think.

I have another patch ongoing (a bin command to allow to check the validity of an IBAN from the command-line), will keep you posted.