Another long line. Not sure of the best way to specify these long strings, could maybe shorten this one by dropping "instead of an integer" and replace "result in" by "raise".