Pete Alex Harris🦡🕸️🌲/∞🪐∫ on Nostr: #Python has various #Exception subclasses, and when you are writing your own library ...
#Python has various #Exception subclasses, and when you are writing your own library code it's good to understand when to raise which one.
I have constructed a handy reference based on restaurant situations, for you to refer to.
1/3
Published at
2023-11-28 22:50:47Event JSON
{
"id": "7b0d57e020569efb9ad128bbcc784892ff3472784481d1b1f22826b429e53553",
"pubkey": "11ab289aa0db27fd78b6ea06d9bb0c4333ea1e7dd865e3efc7ad66fd5cc99a8e",
"created_at": 1701211847,
"kind": 1,
"tags": [
[
"t",
"exception"
],
[
"t",
"python"
],
[
"proxy",
"https://mastodon.scot/users/petealexharris/statuses/111490619653759472",
"activitypub"
]
],
"content": "#Python has various #Exception subclasses, and when you are writing your own library code it's good to understand when to raise which one.\n\nI have constructed a handy reference based on restaurant situations, for you to refer to.\n\n1/3",
"sig": "b246951430f045dae373ace08ea5c8419672a5c672750d016e4d9d39d6af385995342afc5c02165d4767b06dbd19a0a1de6cefda435f5434415479cbaba56ae5"
}