O'Reilly logo
  • Brendan Donegan thinks this is interesting:

self.d.errback( "The headline ``%s'' is too long!" % (headline,))

From

Cover of Twisted Network Programming Essentials, 2nd Edition

Note

If you get "Strings are not supported by Failure" then wrap the string in an Exception()