1author2titles = {
2 "Samuel Penhallow": [
3 par(
4 """
5 The history of the wars of New-England with the Eastern Indians;
6 or, a narrative of their continued perfidy and cruelty, from the
7 10th of August, 1703, to the peace renewed 13th of July, 1713. And
8 from the 25th of July, 1722, to their submission 15th December,
9 1725, which was ratified August 5th, 1726"""
10 )
11 ],
12 "Daniel Defoe": [
13 par(
14 """
15 The Life and Strange Surprizing Adventures of Robinson Crusoe, Of
16 York, Mariner: Who lived Eight and Twenty Years, all alone in an
17 un-inhabited Island on the Coast of America, near the Mouth of the
18 Great River of Oroonoque; Having been cast on Shore by Shipwreck,
19 wherein all the Men perished but himself. With An Account how he
20 was at last as strangely deliver'd by Pyrates"""
21 ),
22 par(
23 """The Fortunes and Misfortunes of the Famous Moll Flanders Who was
24 born in Newgate, and during a life of continu’d Variety for
25 Threescore Years, besides her Childhood, was Twelve Years a Whore,
26 five times a Wife (whereof once to her brother) Twelve Years a
27 Thief, Eight Years a Transported Felon in Virginia, at last grew
28 Rich, liv’d Honest and died a Penitent"""
29 ),
30 ],
31}
32
1from paragraphs import par
2
3class SuddenDeathError(Exception):
4 def __init__(self, cause: str) -> None:
5 self.cause = cause
6
7 def __str__(self):
8 return par(
9 f"""
10 Y - e - e - e - es, Lord love you! Why should she die of
11 {self.cause}? She come through diphtheria right enough the year
12 before.I saw her with my own eyes.Fairly blue with it, she was.They
13 all thought she was dead; but my father he kept ladling gin down
14 her throat til she came to so sudden that she bit the bowl off the
15 spoon.
16
17 What call would a woman with that strength in her have to die of
18 {self.cause}? What become of her new straw hat that should have
19 come to me? Somebody pinched it; and what I say is, them as pinched
20 it done her in."""
21 )
22
23raise SuddenDeathError("influenza")
24